RpcException class

Base RPC exception class

The JSON-RPC specification addresses a few special exceptions that we want to emulate.

Implemented types
Implementers

Constructors

RpcException(String message, [int code = 0, dynamic data])
Constructor. Message is not optional, everything else is.

Properties

code int
maybe an identifying code
getter/setter pair
data ↔ dynamic
maybe useful data
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String
maybe a helpful message
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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