TFormatException class

Custom exception class to handle various format-related errors.

Implemented types

Constructors

TFormatException([String message = 'An unexpected format error occurred. Please check your input.'])
Default constructor with a generic error message.
const
TFormatException.fromCode(String code)
Create a format exception from a specific error code.
factory
TFormatException.fromMessage(String message)
Create a format exception from a specific error message.
factory

Properties

formattedMessage → String
Get the corresponding error message.
no setter
hashCode → int
The hash code for this object.
no setterinherited
message → String
The associated error message.
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
A string representation of this object.
inherited

Operators

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