HttpErrorContext class Error Handling

Error context information for a HTTP operation.

Inheritance

Constructors

HttpErrorContext({required String method, required String requestPath, required int responseCode, required String responseBody})

Properties

hashCode int
The hash code for this object.
no setterinherited
method String
The HTTP method of the request that was performed.
final
requestPath String
The request path for the request that was being performed.
final
responseBody String
The http response body which was received.
final
responseCode int
The http response status code which was received.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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