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