Utility class we use to hold auto-unwrapped 4xx/5xx Response bodies

We don't export the class for public use since it's an implementation detail, but we export the interface above so folks can build their own abstractions around instances via isRouteErrorResponse()

Implements

Constructors

  • Parameters

    • status: number
    • statusText: string
    • data: any
    • Optional internal: boolean

    Returns UNSAFE_ErrorResponseImpl

Properties

data: any
error?: any
internal: any
status: number
statusText: string