android-components / mozilla.components.concept.engine.request / RequestInterceptor / ErrorResponse

# ErrorResponse

`data class ErrorResponse` (source)

An alternative response for an error request.

### Constructors

<init> | `ErrorResponse(data: String, url: String? = null, mimeType: String = "text/html", encoding: String = "UTF-8")` An alternative response for an error request.

### Properties

data | `val data: String`
encoding | `val encoding: String`
mimeType | `val mimeType: String`
url | `val url: String?`