FrameworkError
Popii / FrameworkError
Class: FrameworkError
Section titled “Class: FrameworkError”Defined in: runtime/errors.ts:3
Extends
Section titled “Extends”Error
Extended by
Section titled “Extended by”ConfigurationErrorValidationErrorAuthorizationErrorCooldownErrorQuotaErrorConflictErrorTimeoutErrorCancelledErrorDiscordErrorPersistenceErrorPluginError
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
visibility
Section titled “visibility”Get Signature
Section titled “Get Signature”get visibility():
ErrorVisibility
Defined in: runtime/errors.ts:10
Returns
Section titled “Returns”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FrameworkError(
code,message,options?):FrameworkError
Defined in: runtime/errors.ts:4
Parameters
Section titled “Parameters”string
message
Section titled “message”string
options?
Section titled “options?”cause?
Section titled “cause?”unknown
metadata?
Section titled “metadata?”Record<string, unknown>
retryable?
Section titled “retryable?”boolean
visibility?
Section titled “visibility?”Returns
Section titled “Returns”FrameworkError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”
readonlycode:string
Defined in: runtime/errors.ts:5
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