Methods

The `CommonErrors` methods

public delete(): this Deletes the error of a specified id from the object.

public has(): boolean The has() method checks whether the error of the given id exists in a specified object.

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