The `Errors` object methods
Last updated 1 year ago
public get(): Error<ErrorId> | undefined Returns the Error instance of the given unique identification id if set, otherwise undefined.
Error
id
undefined
public getErrors(): { [Key in Id]: Error<Key> } Returns an object of set errors, where the key is a unique identification.
object
public set(): this Sets the Error object with the message built from the given required problem, id, fix on the given or stored template under the given id.
problem
fix
template