AuthorizationError
Popii / AuthorizationError
Class: AuthorizationError
Section titled “Class: AuthorizationError”Defined in: runtime/errors.ts:15
Extends
Section titled “Extends”Accessors
Section titled “Accessors”retryable
Section titled “retryable”Get Signature
Section titled “Get Signature”get retryable():
boolean
Defined in: runtime/errors.ts:9
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”visibility
Section titled “visibility”Get Signature
Section titled “Get Signature”get visibility():
ErrorVisibility
Defined in: runtime/errors.ts:10
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AuthorizationError(
message?):AuthorizationError
Defined in: runtime/errors.ts:15
Parameters
Section titled “Parameters”message?
Section titled “message?”string = "You do not have permission to do that"
Returns
Section titled “Returns”AuthorizationError
Overrides
Section titled “Overrides”Properties
Section titled “Properties”
readonlycode:string
Defined in: runtime/errors.ts:5
Inherited from
Section titled “Inherited from”options
Section titled “options”
readonlyoptions:object={}
Defined in: runtime/errors.ts:7
cause?
Section titled “cause?”
optionalcause?:unknown
metadata?
Section titled “metadata?”
optionalmetadata?:Record<string,unknown>
retryable?
Section titled “retryable?”
optionalretryable?:boolean
visibility?
Section titled “visibility?”
optionalvisibility?:ErrorVisibility