ShutterApiError
Defined in: errors.ts:17
The Shutter API answered with an error or with something this package refuses to trust (an identity that is not
derived from the prefix and registrant, a decryption key that fails the pairing check). status is the HTTP status
when there was one; rateLimited is true for 429.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ShutterApiError(
message,options?):ShutterApiError
Defined in: errors.ts:19
Parameters
Section titled “Parameters”message
Section titled “message”string
options?
Section titled “options?”cause?
Section titled “cause?”unknown
status?
Section titled “status?”number
Returns
Section titled “Returns”ShutterApiError
Overrides
Section titled “Overrides”Properties
Section titled “Properties”status
Section titled “status”
readonlystatus:number|undefined
Defined in: errors.ts:18
Accessors
Section titled “Accessors”rateLimited
Section titled “rateLimited”Get Signature
Section titled “Get Signature”get rateLimited():
boolean
Defined in: errors.ts:23
Returns
Section titled “Returns”boolean