RPCError class

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

Inheritance

Constructors

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

Properties

details Map<String, dynamic>?
finalinherited
errorCode int?
The error code associated with the RPC error.
final
hashCode int
The hash code for this object.
no setterinherited
message String
Abstract field to hold the exception message.
finalinherited
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
A string representation of this object.
override

Operators

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