Class: ModelError

bo.shared. ModelError

Represents a model error.

new ModelError(message, messageParams)

Creates a model error object.

Parameters:
Name Type Argument Description
message string <optional>

Human-readable description of the error.

messageParams * <optional>
<repeatable>

Optional interpolation parameters of the message.

See:
  • Error for further information.

Extends

  • Error

Members

message :string

Human-readable description of the error.

Type:
  • string

name :string

The name of the error type.

Type:
  • string
Default Value:
  • ModelError
If you find bugs or have feature requests, please let us know.

JavaScript business objects ♦ Copyright © 2014-2016 Logikum, Ltd.
Documentation generated by JSDoc 3.2.2 on 2015. December 31. using the DocStrap template.