Error class final

A write failed, an unimplemented op was encountered, or a post-rename step raised. rolledBack reflects whether the .tmp cleanup ran.

Inheritance

Constructors

Error({required String error, required bool rolledBack})
Creates an Error result.
const

Properties

error String
Human-readable error description (typically the underlying exception message).
final
hashCode int
The hash code for this object.
no setterinherited
rolledBack bool
true when the .tmp cleanup ran (failure happened during the atomic write phase); false when the failure was earlier (unimplemented op) or later (post-rename) so no rollback was needed or possible.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

describe() String
Returns a single-line human-readable summary of the result.
override
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