RPCError class

An exception class representing errors that occur during RPC (Remote Procedure Call) communication.

Implemented types

Constructors

RPCError({required String message, required int errorCode, required dynamic data, required Map<String, dynamic> request})
Creates an instance of RPCError.
const

Properties

data → dynamic
Additional data associated with the RPC error.
final
errorCode int
The error code associated with the RPC error.
final
hashCode int
The hash code for this object.
no setterinherited
message String
A human-readable description of the RPC error.
final
request Map<String, dynamic>
Details of the RPC request that resulted in the error.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns a string representation of the RPCError.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited