HttpStatusCodeException class abstract

An abstract base class for custom exceptions representing HTTP status code errors.

This class extends Exception and serves as a foundation for creating specific exceptions related to HTTP status codes. It includes a human-readable message describing the error and an associated HTTP statusCode.

Implemented types
Implementers

Constructors

HttpStatusCodeException(String message, int statusCode)
Creates an instance of HttpStatusCodeException with the specified message and HTTP statusCode.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A human-readable description of the exception.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
The HTTP status code associated with the exception.
final

Methods

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

Operators

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