API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

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?: unknown
The 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: string
One-line, actionable summary (becomes the Error.message prefix).
status?: number
HTTP status code of the response, when one arrived. Explicitly undefined is accepted - a request that never produced a response has none.
statusText?: string
HTTP status text of the response, when one arrived.
url: string
The URL the strategy tried to fetch.
Source