Error handling
var ErrorView = require("bauplan.error.view");
Inserts an error view, using error.view template
Any errors (or warnings or infos) that are set on the parent control view will be displayed automatically.
In normal circumstances, it should be invoked implicitly by bauplan.control.view module.
Returns
ErrorView
- Type
- constuctor
Extends
- Thorax.View
Requires
- thorax
- Source:
Members
(inner, constant) name :string
Type:
- string
- Default Value:
- error
- Source:
(inner, constant) template :string
Type:
- string
- Default Value:
- error.view
- Source:
Methods
(inner) initialize(optionsopt)
Parameters
Name | Type | Attributes | Description |
---|---|---|---|
options |
object |
<optional> |
- Source: