Custom error to signal an invalid value.
Returns a new CustomError with the specified message.
Optional
Generated using TypeDoc
Custom error to signal an invalid value.