pub enum RuntimeError {
Show 19 variants
AttrMultipleValues(Rc<str>),
ParamMissing(Rc<str>),
ParamMissingImplicit(Rc<str>),
ParamExistsButNotImplicit(Rc<str>),
ParamMultipleValues(Rc<str>),
ParamMustBePositive(Rc<str>, i64),
RegexSyntaxError(Error),
RegexMixedGroupKinds,
RegexInvalidGroupName(Rc<str>),
Raised(Rc<str>),
NoMatchingBranch,
IndexOutOfRange(i64, usize),
ParseIntError(ParseIntError),
FileReadError(Rc<str>, Error),
PathNotInOutDir(Rc<str>),
WriteFileNotAllowed,
ParseHtmlError(Rc<str>),
NetworkError(Error),
NetworkDisabled,
}
Expand description
Represents an error which occurs at runtime; there is an associated stack trace.
Variants§
AttrMultipleValues(Rc<str>)
ParamMissing(Rc<str>)
ParamMissingImplicit(Rc<str>)
ParamExistsButNotImplicit(Rc<str>)
ParamMultipleValues(Rc<str>)
ParamMustBePositive(Rc<str>, i64)
RegexSyntaxError(Error)
RegexMixedGroupKinds
RegexInvalidGroupName(Rc<str>)
Raised(Rc<str>)
NoMatchingBranch
IndexOutOfRange(i64, usize)
ParseIntError(ParseIntError)
FileReadError(Rc<str>, Error)
PathNotInOutDir(Rc<str>)
WriteFileNotAllowed
ParseHtmlError(Rc<str>)
NetworkError(Error)
NetworkDisabled
Trait Implementations§
Source§impl Debug for RuntimeError
impl Debug for RuntimeError
Source§impl Display for RuntimeError
impl Display for RuntimeError
Source§impl From<RuntimeError> for PapyriError
impl From<RuntimeError> for PapyriError
Source§fn from(e: RuntimeError) -> PapyriError
fn from(e: RuntimeError) -> PapyriError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RuntimeError
impl !RefUnwindSafe for RuntimeError
impl !Send for RuntimeError
impl !Sync for RuntimeError
impl Unpin for RuntimeError
impl !UnwindSafe for RuntimeError
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