ApiRequestException class

Inheritance

Constructors

ApiRequestException(int statusCode, [String? message])
ApiRequestException.badRequest([dynamic message])
ApiRequestException.forbidden([dynamic message])
ApiRequestException.internalError(dynamic message)
ApiRequestException.methodNotAllowed([dynamic message])
ApiRequestException.notFound([dynamic message])
ApiRequestException.unauthorized([dynamic message])

Properties

hashCode int
The hash code for this object.
no setterinherited
internal Exception?
finalinherited
message String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toResponse() ApiResponse
toString() String
A string representation of this object.
inherited

Operators

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