Struct minify_html_onepass::FriendlyError
source · pub struct FriendlyError {
pub position: usize,
pub message: String,
pub code_context: String,
}
Expand description
User-friendly details about a minification failure, including an English message description of the reason, and generated printable contextual representation of the code where the error occurred.
Fields§
§position: usize
§message: String
§code_context: String
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FriendlyError
impl Send for FriendlyError
impl Sync for FriendlyError
impl Unpin for FriendlyError
impl UnwindSafe for FriendlyError
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