InvalidFormatException class

Exception thrown when an error occurs due to invalid Header format of a file.

Implemented types

Constructors

InvalidFormatException(InvalidFormatType formatType, {String? originalValue, String? customMessage})
Creates the exception with the given parameters.

Properties

customMessage String?
Optional message to give more debug options.
getter/setter pair
formatType InvalidFormatType
Type of Error
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
originalValue String?
Option extra parameter that represent the value given to throw this error.
getter/setter pair
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.
override

Operators

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