Constructor
The `RangeErrors` constructor
RangeErrors()
RangeErrors()
Creates the RangeErrors
instance of unique identification numbers under which the RangeError
objects are stored.
constructor(...id: Id[]) {
super(...id);
}
Parameters
A rest parameter of generic type variable Id
indicates unique identification numbers under which the RangeError
objects are stored.
Example usage
// Example usage.
import { RangeErrors } from '@angular-package/error';
// Returns RangeErrors {}
new RangeErrors('RE: 4332', 'RE: 4331', 'RE: 4330');
// Returns RangeErrors {}
new RangeErrors('RV: 332', 'RV: 331', 'RV: 330');
Last updated
Was this helpful?