Custom error class representing an error that occurs when invalid dimensions are provided. This error is thrown when the width or height is not a finite number greater than zero.
Creates a new instance of the InvalidDimError class with a default error message.
Optional
An optional machine-readable error code (e.g. a Firebase auth/* code).
auth/*
The error message.
The name of the error.
The type of the error.
Returns serialized error object.
The serialized error object.
Returns a string representation of the error message, prefixed with "[]".
A formatted error message.
Custom error class representing an error that occurs when invalid dimensions are provided. This error is thrown when the width or height is not a finite number greater than zero.