InvalidParametersException class
InvalidParametersException may be thrown when a method cannot be invoked.
This exception is identified in the JSON-RPC v2 specification.
- Inheritance
-
- Object
- RpcException
- InvalidParametersException
Constructors
- InvalidParametersException([String msg = '', int newCode = -32602])
- constructor
Properties
- code ↔ int
-
maybe an identifying code
getter/setter pairinherited
- data ↔ dynamic
-
maybe useful data
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String
-
maybe a helpful message
getter/setter pairinherited
- 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> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited