pub enum XriptError {
ManifestValidation {
issues: Vec<ValidationIssue>,
},
Binding {
binding: String,
message: String,
},
CapabilityDenied {
binding: String,
capability: String,
},
ExecutionLimit {
limit: String,
},
Script(String),
ModEntry {
mod_name: String,
message: String,
},
Engine(String),
Json(Error),
Io(Error),
}Variants§
ManifestValidation
Fields
§
issues: Vec<ValidationIssue>Binding
CapabilityDenied
ExecutionLimit
Script(String)
ModEntry
Engine(String)
Json(Error)
Io(Error)
Trait Implementations§
Source§impl Debug for XriptError
impl Debug for XriptError
Source§impl Display for XriptError
impl Display for XriptError
Source§impl Error for XriptError
impl Error for XriptError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for XriptError
impl From<Error> for XriptError
Auto Trait Implementations§
impl Freeze for XriptError
impl !RefUnwindSafe for XriptError
impl Send for XriptError
impl Sync for XriptError
impl Unpin for XriptError
impl UnsafeUnpin for XriptError
impl !UnwindSafe for XriptError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more