construct_object()
- Integer
Verbose_State - Integer
Current_Error_Number - Integer
Error_Line_Number - Boolean
pbUnhandledErrorSupportIf set false, this makes the error handler work the old way which
does not use the new unhandled dialog. Only exists for compatibility reasons
- Boolean
pbShowErrorNumbershows error numbers with user errors. Only set this true if your
application has meaningful numbers that helps the end user. Note that
unhandled errors always show numbers.
this is ignored if pbUnhandledErrorSupport is false
- String
psUnhandledErrorCaptionThis is the caption that appears for unhandled errors dialog box
- String
psUserErrorCaptionThis is the caption that appears for standard user errors
- Integer
Error_Processing_StateFlag which is sent when error is being processed. This
stops error recursion.
- Integer[]
pUserErrorsArrayarray of errors that we consider User Errors
- Integer
Bell_on_Find_Error_StateThis allows us to skip find errors (GT & LT) and to only
ring a bell when these occur.
- trappedErrors : Trapped_Errors_Array
- String
Help_Context(Integer Context_Type)
Trap_Error(Integer Error#)
*** Catch and display error Error#.
Ignore_Error(Integer Error#)
*** Pass error Error# on to the regular DataFlex error handler.
Trap_All()
*** Catch and display all errors.
Ignore_All()
*** Forward all error to regular DataFlex error handler.
- String
Error_Description(Integer Error# String ErrMsg)
*** Build complete error description from Flexerrs and user error message.
- String
Full_Error_Text
- Integer
Is_Critical(Integer Error#)
** return true if an error number is critical
AddUserError(Integer iError)
adds a user error to the array
- Integer[]
UserErrors
RemoveUserError(Integer iError)
removes an error from the user array
- Integer[]
UserErrors - Integer
iIndex - Integer
iSize
RemoveAllUserErrors()
removes all user errors
- Integer[]
UserErrors
- Boolean
IsUnhandledError(Integer iError)
returns true if this is an unhandled error (i.e., not a user error
- Integer[]
UserErrors
UnhandledErrorDisplay(Integer iErrorLine String sMessage)
- String
sCaption - String
sCRLF
Error_Report(Integer ErrNum Integer Err_Line String ErrMsg)
*** Handle error event, displaying error info to user.
- Integer
iReply - Integer
iIcon - String
sErrorText - String
sMess - String
sSource - String
sCaption - Integer
iSrcPos - Integer
iSrc - Integer
iTxtLen - Boolean
bIsUnhandled - Boolean
bUnhandledSupport - Boolean
bCritical - Boolean
bVerbose
- String
Help_Name()
JJT- Note if you are using the WINDAF windows help system
the following functions are not used.
The functions below are used to construct a general help
name for errors that are generated by the system. If processing
comes here, then there was no module specific help found. These
functions will provide a more general help name that appears in
the form of SYSTEM..ERROR:#. All global errors should be
places in the help file under this application and module name.
*** Returns "ERROR:errornum" to supply error help.
- String
Application_Name()
- String
Module_Name()