|
| ErrorInfo returns no result |
| Iniciado por guest, 19,dic. 2015 17:21 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 19,diciembre 2015 - 17:21 |
I am trying to setup a general exception procedure, but can't get ErrorInfo(errFullDetails) to return anything other than Error code: 0 Level: no error (EL_NONE) I have tried WHEN EXCEPTION ManageApplicationError(ErrorInfo(errFullDetails)) END And picking up the parameter and I have tried using ErrorInfo() on the first line of my error procedure but neither shows any details.
I have generated errors using ExceptionThrow and also x is int = 0/0 but neither shows any details.
am I missing something here? I know the online help says "ErrorInfo must be used immediately after the call to the function that failed. Indeed, the call to a WLanguage function can reinitialize and modify the status report returned by ErrorInfo.", but I should be able to pick this up straight away?
Gary. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 19,diciembre 2015 - 22:26 |
| Use ExceptionInfo(errFullDetails) instead of Errorinfo(errFullDetails) |
| |
| |
| | | |
|
| | |
| |
| Publicado el 21,diciembre 2015 - 08:32 |
>>Use ExceptionInfo(errFullDetails) instead of Errorinfo(errFullDetails)
Thanks Paul, that works perfectly. |
| |
| |
| | | |
|
| | | | |
| | |
|