Error

LiveView. Error

Error

Constructor

new 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.
Parameters:
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

code :Number

The error code that identifies the error.
Type:
  • Number

detail :String

A detailed message about what happened.
Type:
  • String

message :String

A brief description summarizing the error.
Type:
  • String

stack :String

The error stack trace if available in the current browser.
Type:
  • String