CompactionException class

Thrown when the compaction pipeline cannot produce a summary.

Compaction is failure-safe: when this is thrown, no records have been appended and the session history is fully preserved (pi semantics).

Inheritance

Constructors

CompactionException(String message, {CompactionErrorCode code = CompactionErrorCode.summarizationFailed, Object? cause, StackTrace? causeStack})
Creates a CompactionException.
const

Properties

cause → Object?
The original error that caused this exception, if any.
finalinherited
causeStack → StackTrace?
The stack trace of the original error, if any.
finalinherited
code → CompactionErrorCode
Stable classification of the failure.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Human-readable description of what went wrong.
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