# Class: Error

## LiveView. Error

Error

#### new LiveView.Error(code, detail, message)

  LiveView error object that will be passed as an argument to error handling callbacks and promise rejection handlers. LiveView.Error inherits from window.Error if available.

  Name | Type | Description
  --- | --- | ---
  `code` | Number | The error code that identifies the error.
  `detail` | String | A detailed message about what happened.
  `message` | String | A brief description summarizing the error.

### Members

#### stackString

  The error stack trace if available in the current browser.

#### codeNumber

  The error code that identifies the error.

#### detailString

  A detailed message about what happened.

#### messageString

  A brief description summarizing the error.