Enum rscript::Error [−][src]
pub enum Error {
Io(Error),
Bincode(Error),
ScriptIsNotListeningForHook,
ScriptVersionMismatch {
program_actual_version: Version,
program_required_version: VersionReq,
},
DynamicLibError(Error),
}
Expand description
Rscript public error
Variants
Io(Error)
Input/Output error,
Tuple Fields of Io
0: Error
Bincode(Error)
Bincode error
Tuple Fields of Bincode
0: Error
This error is raised if the user attempts to trigger manually a hook on a script and the script is not listening for the specified hook
The script is written for a different version of the program
Fields of ScriptVersionMismatch
program_actual_version: Version
The program actual version
program_required_version: VersionReq
The version required of the program by the script
DynamicLibError(Error)
Failed to load a dynamic libaray
Tuple Fields of DynamicLibError
0: Error