Skip to content

MobileLockerHTTPError

Defined in: errors.ts:132

Thrown by mobilelocker.http.* methods on network-level failures (timeout, no connection).

For non-2xx HTTP responses, see MobileLockerHttpResponseError.

new MobileLockerHTTPError(message, code): MobileLockerHTTPError;

Defined in: errors.ts:135

Parameter Type
message string
code HTTPErrorCode

MobileLockerHTTPError

MobileLockerError.constructor

readonly code: HTTPErrorCode;

Defined in: errors.ts:133

Machine-readable error code. Prefer the *ErrorCode constants for comparisons.

MobileLockerError.code