Methods

The `TypeErrors` object methods

public get(): TypeError<ErrorId> | undefined Returns the TypeError instance of the given unique identification id if set, otherwise undefined.

public getErrors(): { [Key in Id]: TypeError<Key> | undefined } Returns an object of set type errors, where the key is a unique identification.

public set(): this Sets the TypeError object with the message built from the given required problem, fix, id, and optional type on the given or stored template under the given id.

Last updated