Constructor
The `TypeErrors` constructor
TypeErrors()
TypeErrors()Creates the ValidationErrors instance of unique identification numbers under which the ValidationError objects are stored.
constructor(...id: Id[]) {
  super(...id);
}Parameters
A rest parameter of generic type variable Id indicates unique identification numbers under which the ValidationError objects are stored.
Example usage
// Example usage.
import { ValidationErrors } from '@angular-package/error';
// Define validation errors.
new ValidationErrors(
  '(VE: 4332)',
  '(VE: 4331)',
  '(VE: 4330)'
);Last updated
Was this helpful?
