DefaultApiException class

Handling error base from basic error from response API, for example Bad request,

Inheritance

Constructors

DefaultApiException({required String message, int? code})
const

Properties

code Object?
The error code associated with the exception (optional).
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String
The error message associated with the exception.
finalinherited
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