LocaleCaseError class

A custom exception class for handling errors specific to locale case conversions.

This exception is used to handle errors like invalid ranges or unsupported languages within the LocalCase package.

Implemented types

Constructors

LocaleCaseError(String message)
Creates a new LocaleCaseError with the given message.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
The error message describing the exception.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns a string representation of the error message.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

invalidRange() LocaleCaseError
Creates an error indicating that the number is out of the valid range.
unsupportedLanguage() LocaleCaseError
Creates an error indicating that the specified language is not supported.