Overview
The `ValidationError` object
Last updated
The `ValidationError` object
Last updated
ValidationError {}
The ValidationError
object is an extension of the CommonError
class and is thrown when an operation could not be performed despite proper type(but not exclusively) with the message built from the described problem and its solution, along with additional identification on the given or stored template.
public get [Symbol.toStringTag](): string
The get
accessor, with the help of toStringTag
, changes the default tag to 'ValidationError'
for an instance of ValidationError
.
public static isValidationError(): value is ValidationError<Id>
Checks whether the value
of any type is the ValidationError
instance of any or the given identification.