const classafJsonRpc::JsonRpcErr
sys::Obj sys::Err afJsonRpc::JsonRpcErr
Represents an error when calling RPC.
Errors thrown by the endpoints result in an JsonRpcErr with a code of applicationError.
- applicationError
const static Int applicationError := -32500- code
const Int codeA Number that indicates the error type that occurred.
- data
const Obj? dataA Primitive or Structured value that contains additional information about the error.
- internalError
const static Int internalError := -32603- invalidParams
const static Int invalidParams := -32602- invalidRequest
const static Int invalidRequest := -32600- make
- methodNotFound
const static Int methodNotFound := -32601- parseError
const static Int parseError := -32700