DiscordError
Popii / DiscordError
Class: DiscordError
Section titled “Class: DiscordError”Defined in: runtime/errors.ts:21
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 DiscordError(
message,cause?):DiscordError
Defined in: runtime/errors.ts:21
Parameters
Section titled “Parameters”message
Section titled “message”string
cause?
Section titled “cause?”unknown
Returns
Section titled “Returns”DiscordError
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