# Class UNSAFE_ErrorResponseImpl`Private`

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

- ErrorResponse

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:507

#####
Index

### Constructors

constructor

### Properties

data
error?
internal
status
statusText

## Constructors

### constructor

- new UNSAFE_ErrorResponseImpl(status, statusText, data, internal?): UNSAFE_ErrorResponseImpl

- #### Parameters

  - status: number
  - statusText: string
  - data: any
  - `Optional` internal: boolean

  #### Returns UNSAFE_ErrorResponseImpl

  - Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:513

## Properties

### data

data: any

Implementation of ErrorResponse.data

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:510

### `Private` `Optional` error

error?: any

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:511

### `Private` internal

internal: any

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:512

### status

status: number

Implementation of ErrorResponse.status

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:508

### statusText

statusText: string

Implementation of ErrorResponse.statusText

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:509