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

code int
final
data → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
message String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stack List<String>?
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.
override

Operators

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