ServerException class final

An exception caused by an error status code 500-599.

Inheritance

Constructors

ServerException({required int? statusCode, required String? jsonBody})

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toGitsFailure() GitsFailure
Convert to GitsFailure.
override
toStatusCodeName() String
Convert status code to name.
inherited
toString() String
A string representation of this object.
override

Operators

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