MobileLockerCRMError
Defined in: errors.ts:97
Thrown by mobilelocker.crm.* methods on CRM-specific failures.
Check code against CRMErrorCode constants to handle specific cases
such as expired auth or invalid SOQL.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new MobileLockerCRMError( message, code, crmMessage?): MobileLockerCRMError;Defined in: errors.ts:102
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
message |
string |
code |
CRMErrorCode |
crmMessage? |
string |
Returns
Section titled “Returns”MobileLockerCRMError
Overrides
Section titled “Overrides”Properties
Section titled “Properties”readonly code: CRMErrorCode;Defined in: errors.ts:98
Machine-readable error code. Prefer the *ErrorCode constants for comparisons.
Overrides
Section titled “Overrides”crmMessage?
Section titled “crmMessage?”readonly optional crmMessage?: string;Defined in: errors.ts:100
The raw error message from the CRM, if available.