OnErrorOccurredDetails class
Constructors
-
OnErrorOccurredDetails({required String requestId, required String url, required String method, required int frameId, required int parentFrameId, required String documentId, String? parentDocumentId, required DocumentLifecycle documentLifecycle, required FrameType frameType, required int tabId, required ResourceType type, String? initiator, required double timeStamp, String? ip, required bool fromCache, required String error})
-
-
OnErrorOccurredDetails.fromJS(OnErrorOccurredDetails _wrapped)
-
Properties
-
documentId
↔ String
-
The UUID of the document making the request. This value is not present if
the request is a navigation of a frame.
getter/setter pair
-
documentLifecycle
↔ DocumentLifecycle
-
The lifecycle the document is in.
getter/setter pair
-
error
↔ String
-
The error description. This string is not guaranteed to remain backwards
compatible between releases. You must not parse and act based upon its
content.
getter/setter pair
-
frameId
↔ int
-
The value 0 indicates that the request happens in the main frame; a
positive value indicates the ID of a subframe in which the request
happens. If the document of a (sub-)frame is loaded (
type
is
main_frame
or sub_frame
), frameId
indicates the ID of this frame,
not the ID of the outer frame. Frame IDs are unique within a tab.
getter/setter pair
-
frameType
↔ FrameType
-
The type of frame the request occurred in.
getter/setter pair
-
fromCache
↔ bool
-
Indicates if this response was fetched from disk cache.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
initiator
↔ String?
-
The origin where the request was initiated. This does not change through
redirects. If this is an opaque origin, the string 'null' will be used.
getter/setter pair
-
ip
↔ String?
-
The server IP address that the request was actually sent to. Note that it
may be a literal IPv6 address.
getter/setter pair
-
method
↔ String
-
Standard HTTP method.
getter/setter pair
-
parentDocumentId
↔ String?
-
The UUID of the parent document owning this frame. This is not set if
there is no parent.
getter/setter pair
-
parentFrameId
↔ int
-
ID of frame that wraps the frame which sent the request. Set to -1 if no
parent frame exists.
getter/setter pair
-
requestId
↔ String
-
The ID of the request. Request IDs are unique within a browser session. As
a result, they could be used to relate different events of the same
request.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
tabId
↔ int
-
The ID of the tab in which the request takes place. Set to -1 if the
request isn't related to a tab.
getter/setter pair
-
timeStamp
↔ double
-
The time when this signal is triggered, in milliseconds since the epoch.
getter/setter pair
-
toJS
→ OnErrorOccurredDetails
-
no setter
-
type
↔ ResourceType
-
How the requested resource will be used.
getter/setter pair
-
url
↔ String
-
getter/setter pair
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited