Methods
The `TypeErrors` object methods
Last updated
The `TypeErrors` object methods
Last updated
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.