pub enum Error {
}Expand description
Errors produced by the workflow-store crate.
Variants§
Custom(String)
A custom, free-form error message.
IoError(Error)
An underlying file system I/O error.
ChromeError(Error)
An error originating from the Chrome extension storage backend.
JsValue(JsErrorData)
An error captured from a JavaScript exception or rejected promise.
DecodeError(DecodeError)
A Base64 string could not be decoded.
NotFound(String)
The requested file or storage key does not exist.
DataIsNotAString(String)
The stored data was expected to be a UTF-8 string but is not.
DataIsNotABuffer(String)
The stored data was expected to be a binary buffer but is not.
SerdeJson(Error)
A JSON serialization or deserialization error.
InvalidPath(String)
The supplied path is malformed or otherwise invalid.
HomeDir(String)
The user’s home directory could not be determined.
Metadata
File metadata is unavailable.
FasterHex(Error)
A hex encoding or decoding error.
NotSupported
The requested operation is not supported in the current environment.
Implementations§
Trait Implementations§
Source§impl Error for Error
impl Error for Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()