Overview
The `RangeErrors` object
Last updated
Was this helpful?
The `RangeErrors` object
Last updated
Was this helpful?
RangeErrors {}
The RangeErrors
is an extension of the CommonErrors
object that represents multiple identification numbers under which the errors of the RangeError
type are prepared to throw.
public get(): RangeError<ErrorId> | undefined
Returns the RangeError
instance of the given unique identification if set, otherwise undefined
.
public getErrors(): { [Key in Id]: RangeError<Key> | undefined }
Returns an object
of set range errors, where the key is a .
public set(): this
Sets the RangeError
object with the message built from the given required , , , and optional , on the given or stored under the given .
range-errors.class.ts