pub struct PortableError {
pub message: String,
pub kind: PortableErrorKind,
pub line: i32,
pub span: Option<PortableSourceSpan>,
}Expand description
The error that ended the last run and where the input stood when it did.
Fields§
§message: String§kind: PortableErrorKind§line: i32TeX’s line, the 1 based line of the innermost input file, 0 before any line was read.
span: Option<PortableSourceSpan>Span of the token read last, None while source tracking is off.
Trait Implementations§
Source§impl Clone for PortableError
impl Clone for PortableError
Source§impl Debug for PortableError
impl Debug for PortableError
impl Eq for PortableError
Source§impl PartialEq for PortableError
impl PartialEq for PortableError
impl StructuralPartialEq for PortableError
Auto Trait Implementations§
impl Freeze for PortableError
impl RefUnwindSafe for PortableError
impl Send for PortableError
impl Sync for PortableError
impl Unpin for PortableError
impl UnsafeUnpin for PortableError
impl UnwindSafe for PortableError
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