ServerException class
Exception thrown when there was a server error.
- Inheritance
-
- Object
- RpcException
- ServerException
Constructors
- ServerException(String message, {dynamic data})
Properties
- code → int
-
The error code.
finalinherited
- data → Object?
-
Extra application-defined information about the error.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
The error message.
finalinherited
- 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
-
serialize(
dynamic request) → Map< String, dynamic> -
Converts this exception into a JSON-serializable object that's a valid
JSON-RPC 2.0 error response.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited