Overview
The `CommonError` abstract object to throw an identified error with a solution to the described problem
CommonError {}
CommonError {}The CommonError abstract object to throw an identified error with a solution to the described problem, additional type, and range built on the template.
common-error.class.tsAccessors
public get id(): Id | undefined
The get accessor gets the error identification by returning the #id property of a specified object.
public get template(): string
The get accessor gets the template of the error message by returning the #template property of a specified object.
Properties
#id?: Id
A privately stored unique identification of the described problem of generic type variable Id.
Methods
protected static defineMessage(): string
The static "tag" method builds from the given values the error message of a string type on the template.
protected static isError(): value is CommonError<Id>
Checks whether the value of any type is a this instance of any or the given identification.
Last updated
Was this helpful?

