The `CommonErrors` methods
public delete(): this Deletes the error of a specified id from the object.
id
public has(): boolean The has() method checks whether the error of the given id exists in a specified object.
has()
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.
Last updated 2 years ago