Class: ReviewError

ReviewError(optionsopt)

Custom error class that detects validation errors reported by the model and translates them to internationalized messages

Constructor

new ReviewError(optionsopt)

Parameters:
Name Type Attributes Description
options Object <optional>

error data

Properties
Name Type Description
payload Review

the review that triggered this error

parentError Error

the original error

Source: