ErrorContext class

A description of the context in which an error occurred.

This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs.

Constructors

ErrorContext({HttpRequestContext? httpRequest, SourceLocation? reportLocation, List<SourceReference>? sourceReferences, String? user})
ErrorContext.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
httpRequest HttpRequestContext?
The HTTP request which was processed when the error was triggered.
getter/setter pair
reportLocation SourceLocation?
The location in the source code where the decision was made to report the error, usually the place where it was logged.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceReferences List<SourceReference>?
Source code that was used to build the executable which has caused the given error message.
getter/setter pair
user String?
The user who caused or was affected by the crash.
getter/setter pair

Methods

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

Operators

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