Enum miniconf::Error [−][src]
pub enum Error { PathNotFound, PathTooLong, PathTooShort, AtomicUpdateRequired, Deserialization(Error), BadIndex, }
Expand description
Errors that occur during settings configuration
Variants
The provided path wasn’t found in the structure.
Double check the provided path to verify that it’s valid.
The provided path was valid, but there was trailing data at the end.
Check the end of the path and remove any excess characters.
The provided path was valid, but did not specify a value fully.
Double check the ending and add the remainder of the path.
The path provided refers to a member of a configurable structure, but the structure must be updated all at once.
Refactor the request to configure the surrounding structure at once.
The value provided for configuration could not be deserialized into the proper type.
Check that the serialized data is valid JSON and of the correct type.
Tuple Fields of Deserialization
0: Error
When indexing into an array, the index provided was out of bounds.
Check array indices to ensure that bounds for all paths are respected.