Constructor
The `CommonErrors` constructor
CommonErrors()
CommonErrors()
Creates an instance of the errors storage with unique identification numbers.
Identification numbers given in the rest parameter id
are used by the instance isAllowedId()
method to check the existence of the specific id
.
common-errors.class.ts
Parameters
A rest parameter of generic type variable Id
indicates unique identification numbers under which the errors are stored in the object.
Example usage
Last updated