Class: RuleNotice

bo.rules. RuleNotice

Represents the public information of a failed rule.

new RuleNotice(message, severity)

Creates a new rule notice instance.

Parameters:
Name Type Argument Description
message string

Human-readable description of the reason of the failure.

severity bo.rules.RuleSeverity <optional>

The severity of the rule failure, defaults to error.

Throws:

Members

<readonly> message :string

Human-readable description of the reason of rule failure.

Type:
  • string

<readonly> severity :bo.rules.RuleSeverity

The severity of the rule failure.

Type:
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.