Overview
The `CommonErrors` object
Last updated
The `CommonErrors` object
Last updated
CommonErrors {}
The CommonErrors
object represents the storage of errors with unique identification numbers.
#id?: Set<Id>
The collection of unique allowed identification numbers of generic type variable Id
.
public throw(): void
Throws an error of the given id
if the unique id
was provided in the constructor.
protected isAllowedId(): boolean Checks whether the given identification number was provided in the constructor.