Methods

The `Error` object methods

public static define(): Error<Id> Defines the Error instance with the message built of the given required problem, fix and optional id on the template.

public static isError(): value is Error<Id> Checks whether the value of any type is an instance of Error of any or the given identification.

Last updated