KnowledgeWriteFailedException class final

write-failed: the file system refused the write, such as a bundle the process may not write, a .okf.lock that is not a regular file, or a file that cannot be read or replaced. The message names the path and the operating system's reason.

partial is false when nothing was written: prepare writes nothing, and okf rolls a failed commit back. It is true only when that rollback failed too, so the bundle may hold part of the write; review it with Git, and repair generated indexes with RegenerateIndexes.

Inheritance

Constructors

KnowledgeWriteFailedException(String message, {bool partial = false})
const

Properties

code → String
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
message → String
finalinherited
partial → bool
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