RPCError constructor
const
RPCError({})
Creates an instance of RPCError.
The errorCode parameter represents the error code associated with the RPC error.
The message parameter provides a human-readable description of the error.
The optional request parameter holds the details of the RPC request that resulted in the error.
Implementation
const RPCError({
required String message,
this.errorCode,
this.request,
Map<String, dynamic>? details,
}) : super(message, details: details);