new nlobjError() → {nlobjError}
Return a new instance of nlobjError used system or user-defined error object.
- Source:
- nlapihandler_stubs.js, line 2903
Returns:
- Type
- nlobjError
Methods
-
getCode() → {string}
-
return the error code for this system or user-defined error.
- Since:
- 2008.2
- Source:
- nlapihandler_stubs.js, line 2925
Returns:
- Type
- string
-
getDetails() → {string}
-
return the error description for this error.
- Since:
- 2008.2
- Source:
- nlapihandler_stubs.js, line 2936
Returns:
- Type
- string
-
getId() → {string}
-
return the error db ID for this error (if it was an unhandled unexpected error).
- Since:
- 2008.2
- Source:
- nlapihandler_stubs.js, line 2914
Returns:
- Type
- string
-
getInternalId() → {int}
-
return the internalid of the record if this error was thrown in an aftersubmit script.
- Since:
- 2008.2
- Source:
- nlapihandler_stubs.js, line 2969
Returns:
- Type
- int
-
getStackTrace() → {string[]}
-
return a stacktrace containing the location of the error.
- Since:
- 2008.2
- Source:
- nlapihandler_stubs.js, line 2947
Returns:
- Type
- string[]
-
getUserEvent() → {string}
-
return the userevent script name where this error was thrown.
- Since:
- 2008.2
- Source:
- nlapihandler_stubs.js, line 2958
Returns:
- Type
- string