Questions tagged [extract-error-message]

36 questions
5
votes
5 answers

C++ retrieve exception information

I have a c++ dll which I need to debug. Due to the circumstances in which I am using the dll, I am unable to debug it via the calling application. So, I created a try -catch, where the catch writes the exception to a file. The line which needs to be…
user228058
  • 465
  • 1
  • 7
  • 22
4
votes
1 answer

DTExec: The package execution returned DTSER_FAILURE (1) in SSIS package execution

I've got this question within a project in ssis. I had to divide the original project into different packages because this was to big and sometimes it could provoke some problems with the memory. So, in order to link the different packages I'm…
d2907
  • 798
  • 3
  • 15
  • 45
3
votes
1 answer

are there iOS equivalents of GetMacOSStatusErrorString and GetMacOSStatusCommentString

i am trying to make some sense of an error code being returned when setting the scheduledFileID to an AUFilePlayer. Previously when developing for OSX i used const char* GetMacOSStatusErrorString(OSStatus err); const char*…
FredrikJansson
  • 135
  • 2
  • 10
3
votes
2 answers

How is it possible to collect all error messages in the Either Monad?

I tried to validate the construction of a Record with Applicatives and the Either Monad. It works fine. But I can't see all Error Messages. Only the first is visible because the Right Path of the Either Monad ignores them. Here is my code: import…
2
votes
1 answer

floWeaver does not draw basic diagrams from quick tutorial and does not show error message

Following the floWeaver tutorial and beginning with the Quickstart where flows are defined, the second step of plotting the flows does not work. The problem is that I do not get any error message. The code consists of two blocks, with the second…
Ale
  • 21
  • 3
2
votes
0 answers

try .. except Exception as

How can I get the entire object returned instead of just the "error_message" value when an error is thrown? (details below) I am currently working with the block.io API and am trying to extract data from the object returned when an error is thrown…
1
vote
1 answer

Contact Form error message not visible in component

I have a ContactForm component which takes in Message, email and name inputs and uses sendgrid to send an email. On succcess the success message is shown properly but the error is not showing up in the componenet. here is my code: import { useState…
Centipede
  • 11
  • 3
1
vote
1 answer

error messages under the relevant input fields automatically from Django Rest API by react hooks

i want to display every error messages from Django Rest Api automatically in React frontend. i wanted to test my concept with the signup authentication function and after fixing it i would like to use the concept in every components in fetching data…
1
vote
1 answer

How to catch and display the extact error message in python

I have codes which uses python to insert data from excel into mysql. I am trying to catch some error message and display more clear information to the end user, like: if you are trying to insert NaN into mysql, the system show below info: ''' 1054…
Annie
  • 85
  • 3
  • 14
1
vote
1 answer

How can I get error cause in Java?

I'm trying the elasticsearch Java API. And I got this error : java.lang.NullPointerException at java.io.Reader.(Reader.java:78) at java.io.InputStreamReader.(InputStreamReader.java:113) at…
1
vote
0 answers

Set localization of SQL Server messages in c#

I'm developing a Windows app in Visual Studio 2012. It opens connection to SQL Server. app.config is set to use en-US for exception messages and it works: ... But…
Hikari
  • 3,797
  • 12
  • 47
  • 77
1
vote
1 answer

ZF2 File validators return all messages but need only triggered

I want to get only triggered messages, but I am getting all registred messages. $inputFilter = $factory->createInput(array( 'name' => 'image', 'required' => true, 'validators' => array( array( …
tasmaniski
  • 4,767
  • 3
  • 33
  • 65
1
vote
1 answer

Retrieving error message from HRESULT in C++ after calling a C# COM object

I have a COM object written in C#. Under some circumstances, the COM object may throw an Exception with a descriptive message if it encounters an error (for example throw new Exception("error message")). This COM object is called from VB6 code and…
ghigad
  • 341
  • 1
  • 12
0
votes
0 answers

PLS model in R is not recognizing one of my variables

I am working on running a PLS model in R to analyze data I have for FTIR and Enzyme activity. For some reason it is giving me error message that it can't find "Pk_1260" which is one of my columns in my spreadsheet. I have run over analyses on this…
Moirajm
  • 1
  • 1
0
votes
0 answers

Why is my error message not showing in React Formik?

I try to set an error message to a field, when submitting the form results in an error. I use the useFormik. The Structure is like InterfaceType : { names:[TranslationInterface] } TranslationInterface : { language: ENUM, value:…
GoodBytes
  • 11
  • 2
1
2 3