pub enum ErrorCode {
UnsupportedDiagram,
Syntax,
Semantic,
Limit,
}Expand description
What kind of error an Error is, as Pele’s PeleErrorCode says.
Variants§
UnsupportedDiagram
Text of no diagram type known, or of a type not supported.
Syntax
Text that does not parse.
Semantic
Text that parses but asks for what cannot be, as a shape of no such name.
Limit
Text past a limit, as of its length or of a flowchart’s edges.
Implementations§
Trait Implementations§
impl Copy for ErrorCode
impl Eq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations§
impl Forget for ErrorCode
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnsafeUnpin for ErrorCode
impl UnwindSafe for ErrorCode
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