Overview
The `TypeErrors` object
TypeErrors {}
TypeErrors {}The TypeErrors is an extension of the CommonErrors object that represents multiple identification numbers under which the errors of the TypeError type are prepared to throw.
type-errors.class.tsMethods
public get(): TypeError<ErrorId> | undefined
Returns the TypeError instance of the given unique identification id if set, otherwise undefined.
public getErrors(): { [Key in Id]: RangeError<Key> | undefined }
Returns an object of set type errors, where the key is a unique identification.
Last updated
Was this helpful?

