Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_BaseInstanceXF Base Module

Public Sub ProcessError (
ByVal ErrNumber As Long,
ByVal ErrDesc As String,
ByVal ErrLocation As String,
Optional ByVal ErrorCatStr As xf_ErrorType = xf_ErrorType_Error,
Optional ByVal AddlInfo As String = "",
Optional ByVal LogOnly As Boolean = False
)

Handle an error, writing to the shared error table if not in minimal mode

ByVal ErrNumber as Long

The error number

ByVal ErrDesc as String

The error decription

ByVal ErrLocation as String

The location (procedure and module name) where the error occurred

Optional ByVal ErrorCatStr as xf_ErrorType = xf_ErrorType_Error

The error category (error, warning, informational, log)

Optional ByVal AddlInfo as String = ""

Additional useful information, such as the SQL that caused the error

Optional ByVal LogOnly as Boolean = False

Silently log the error to the debug window and the error log table, but don't display a dialog

Call Template:

ProcessError ErrNumber, ErrDesc, ErrLocation
ProcessError ErrNumber, ErrDesc, ErrLocation, ErrorCatStr, AddlInfo, LogOnly

See Also:

Example 1:

xf.ProcessError Err.number, Err.Description, "_lib_GeneralBasic:SelectPrevListVal"
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd