Class: DataPortalError

bo.shared. DataPortalError

Represents a data portal error error.

new DataPortalError(modeltype, modelName, action, interceptedError)

Creates a data portal error object.

Parameters:
Name Type Description
modeltype string

The type of the model the error occurred in.

modelName string

The name of the model the error occurred in.

action bo.shared.DataPortalAction

The data portal action the error occurred in.

interceptedError error

The error to be wrapped.

See:
  • Error for further information.
Throws:

Extends

  • Error

Members

action :string

The name of the action executing that the intercepted error occurred in.

Type:
  • string

innerError :error

The intercepted error of the data portal action.

Type:
  • error

message :string

Human-readable description of the error.

Type:
  • string

modelName :string

The name of the model the intercepted error occurred in.

Type:
  • string

modelType :string

The type of the model the intercepted error occurred in.

Type:
  • string

name :string

The name of the error type.

Type:
  • string
Default Value:
  • DataPortalError
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.