Accessors

The `ValidationError` object accessors

public get name(): string The get accessor obtains error name of a string type, set to 'ValidationError' that is being thrown.

public get [Symbol.toStringTag](): string The get accessor, with the help of toStringTag, changes the default tag to 'ValidationError' for an instance of ValidationError.

Last updated