Class: nlobjError

nlobjError

new nlobjError() → {nlobjError}

Return a new instance of nlobjError used system or user-defined error object.
Source:
Returns:
Type
nlobjError

Methods

getCode() → {string}

return the error code for this system or user-defined error.
Since:
  • 2008.2
Source:
Returns:
Type
string

getDetails() → {string}

return the error description for this error.
Since:
  • 2008.2
Source:
Returns:
Type
string

getId() → {string}

return the error db ID for this error (if it was an unhandled unexpected error).
Since:
  • 2008.2
Source:
Returns:
Type
string

getInternalId() → {int}

return the internalid of the record if this error was thrown in an aftersubmit script.
Since:
  • 2008.2
Source:
Returns:
Type
int

getStackTrace() → {string[]}

return a stacktrace containing the location of the error.
Since:
  • 2008.2
Source:
Returns:
Type
string[]

getUserEvent() → {string}

return the userevent script name where this error was thrown.
Since:
  • 2008.2
Source:
Returns:
Type
string