ArriError class
Serializable request error that can parse the error responses from an Arri RPC server.
- Implemented types
Constructors
-
ArriError({required int code, required String message, dynamic data, List<
String> ? stack}) -
const
-
ArriError.fromJson(Map<
String, dynamic> json) -
factory
- ArriError.fromResponse(Response response)
-
Create an ArriRequestError from an HTTP response
factory
- ArriError.fromString(String input)
-
factory
- ArriError.unknown()
-
factory
Properties
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