FlusmicError class

Exception for Flusmic

Implemented types

Constructors

FlusmicError.fromError(Error error)
Exception for failed deserialization exception
factory
FlusmicError.fromException(Exception exception)
Exception for failed deserialization exception
factory
FlusmicError.fromResponse(Response? response)
Exception for failed requests
factory
FlusmicError.simple(String humanMessage, String message, dynamic response)
Exception for simple use.
factory

Properties

code int
Status code
final
hashCode int
The hash code for this object.
no setterinherited
humanMessage String
Readable message
final
message String?
Message from response
final
response → dynamic
Response from failed request
final
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
toString() String
A string representation of this object.
override

Operators

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