CallError
Defined in: core/src/errors/index.ts:169
Error thrown when there’s an issue calling the canister. This includes network errors, agent errors, canister not found, etc.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CallError(
message,cause?):CallError
Defined in: core/src/errors/index.ts:172
Parameters
Section titled “Parameters”message
Section titled “message”string
cause?
Section titled “cause?”unknown
Returns
Section titled “Returns”CallError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”cause?
Section titled “cause?”
readonlyoptionalcause?:unknown
Defined in: core/src/errors/index.ts:170
Methods
Section titled “Methods”toJSON()
Section titled “toJSON()”toJSON():
unknown
Defined in: core/src/errors/index.ts:184
JSON form, with any BigInt in the cause written as a string.
Returns
Section titled “Returns”unknown