Methods

The `RangeErrors` object methods

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

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

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

Last updated