HttpError class

HttpError class Contain information about http error status - response code message - text message of code exception - Exception objects thrown in the case of a program failure stackTrace - StackTrace by all stack trace objects

Inheritance

Constructors

HttpError(int _status, {String? message, StackTrace? stackTrace, Exception? exception})
Create HttpError object status - response code

Properties

defaultBody String
Generate default HTML for this HTTP error without fail contains information about status and message additional, can contains information about exception and stackTrace
no setter
exception Exception?
Error objects thrown in the case of a program failure
no setter
hashCode int
The hash code for this object.
no setterinherited
message String
text message of code
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
StackTrace by all stack trace objects
no setteroverride
status int
response code
no setter

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