pub enum PersistenceError {
SaveConstructs,
BinarySaveConstructs,
BinaryLoadConstructs,
SaveFacts,
LoadFacts,
BinarySaveFacts,
BinaryLoadFacts,
SaveInstances,
LoadInstances,
RestoreInstances,
BinarySaveInstances,
BinaryLoadInstances,
}Expand description
Identifies a persistence operation which CLIPS could not complete.
Variants§
SaveConstructs
Constructs could not be written as text, usually because the file could not be opened.
BinarySaveConstructs
Constructs could not be written as a binary image.
BinaryLoadConstructs
The file could not be read, or is not a CLIPS binary construct image.
SaveFacts
Facts could not be written as text.
LoadFacts
The file could not be read, or does not contain loadable facts.
BinarySaveFacts
Facts could not be written as a binary image.
BinaryLoadFacts
The file could not be read, or is not a CLIPS binary facts image.
SaveInstances
Instances could not be written as text.
LoadInstances
The file could not be read, or does not contain loadable instances.
RestoreInstances
The file could not be read, or does not contain restorable instances.
BinarySaveInstances
Instances could not be written as a binary image.
BinaryLoadInstances
The file could not be read, or is not a CLIPS binary instances image.