Data object IFailureInfo
interface struct IFailureInfo
This interface struct represents the detailed info of the image load or prefetch failure.
Fields
code
i32 — Required
The underlying integer value representing the http status code for the image load or
prefetch failure.
It is 0 for non-network failures where http status code is not applicable.
message
string — Required
The message describing the image load or prefetch failure.
It can be an empty string, in case no such message is available.
url
string — Required
The url of the image.
error
ImageLoadError — Required
The error type encountered on image load or prefetch failure.
