McpError class
Constructors
- McpError.new({required int? code, required String message, required String type})
-
const
-
McpError.fromJson(Map<
String, dynamic> j) -
factory
Properties
- code → int?
-
Integer protocol error code (e.g., spec-defined numeric code)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable description.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
Error type string (as provided by the server).
final
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited