Enum sherr::DiagError [−][src]
pub enum DiagError { UnreachableCodeReached { pos: Position, }, UnimplementedCodeReached { pos: Position, }, InternalError { pos: Position, }, }
Variants
UnreachableCodeReached
Fields of UnreachableCodeReached
pos: Position |
UnimplementedCodeReached
Fields of UnimplementedCodeReached
pos: Position |
InternalError
Fields of InternalError
pos: Position |
Methods
impl DiagError
[src]
impl DiagError
pub fn unimplemented(pos: Position) -> Self
[src]
pub fn unimplemented(pos: Position) -> Self
pub fn unreachable(pos: Position) -> Self
[src]
pub fn unreachable(pos: Position) -> Self
pub fn internal_error(pos: Position) -> Self
[src]
pub fn internal_error(pos: Position) -> Self