get name()
The `get` accessor obtains error name
ValidationError.prototype.name
ValidationError.prototype.name
The get
accessor obtains error name of a string
type, set to 'ValidationError'
that is being thrown.
validation-error.class.ts
Return type
Returns
The return value is the error instance name of string
type.
Example usage
Last updated