HttpError class Null safety

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
read-only
exception Exception?
Error objects thrown in the case of a program failure
read-only
hashCode int
The hash code for this object.
read-onlyinherited
message String
text message of code
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
stackTrace StackTrace?
StackTrace by all stack trace objects
read-onlyoverride
status int
response code
read-only

Methods

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

Operators

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