GeneralError
Defined in: errors.ts:82
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new GeneralError(
message?,data?,errors?,hint?):GeneralError
Defined in: errors.ts:83
Parameters
Section titled “Parameters”message?
Section titled “message?”string = "General Error"
unknown
errors?
Section titled “errors?”unknown[]
string
Returns
Section titled “Returns”GeneralError
Overrides
Section titled “Overrides”Properties
Section titled “Properties”className
Section titled “className”
readonlyclassName:string
Defined in: errors.ts:3
Inherited from
Section titled “Inherited from”
readonlycode:number
Defined in: errors.ts:2
Inherited from
Section titled “Inherited from”
readonlyoptionaldata?:unknown
Defined in: errors.ts:4
Inherited from
Section titled “Inherited from”errors?
Section titled “errors?”
readonlyoptionalerrors?:unknown[]
Defined in: errors.ts:5
Inherited from
Section titled “Inherited from”
readonlyoptionalhint?:string
Defined in: errors.ts:7
Actionable guidance for the caller — what to change so the request succeeds. Serialized in toJSON().
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”toJSON()
Section titled “toJSON()”toJSON():
Record<string,unknown>
Defined in: errors.ts:20
Returns
Section titled “Returns”Record<string, unknown>