pub trait IntoErrorMessage {
    fn into_error_message(
        self,
        source_id: &str,
        source: &str,
        color: bool
    ) -> ErrorMessage; fn to_location(&self, source: &Source) -> Option<SourceLocation>; fn into_error_message_and_output(
        self,
        source_id: &str,
        source: Source,
        color: bool
    ) -> (String, String); }

Required Methods§

Implementations on Foreign Types§

Convert error into human-readable message and error location.

Implementors§