ExcelEncodeException class final Errors

Thrown when a workbook cannot be encoded back to .xlsx during Excel.save / Excel.encode.

This indicates the in-memory document reached a state the writer cannot serialize (e.g. a number format that does not apply to a cell's value, or a worksheet whose structural elements are missing).

Inheritance

Constructors

ExcelEncodeException(String message, {String? part, Object? cause})
Creates an ExcelEncodeException describing a failed encode.
const

Properties

cause Object?
The underlying error this one wraps, when available.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String
A human-readable description of what went wrong.
finalinherited
part String?
The package part involved (e.g. xl/worksheets/sheet1.xml), when known.
finalinherited
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