API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceAssetNetworkErrorOptions
@codexo/exojs / assets / stable
Construction options for an AssetNetworkError.
5
props
0
methods
0
events
Import
import { AssetNetworkErrorOptions } from '@codexo/exojs'Construction options for an AssetNetworkError.
Properties5
cause?: unknownThe underlying failure - the TypeError a failed fetch rejects with, or anything a custom transport threw. Passed through as Error.cause. Absent for an HTTP error status, where the response itself is the failure.
message: stringOne-line, actionable summary (becomes the Error.message prefix).
status?: numberHTTP status code of the response, when one arrived. Explicitly undefined is accepted - a request that never produced a response has none.
statusText?: stringHTTP status text of the response, when one arrived.
url: stringThe URL the strategy tried to fetch.
Source