notedown-error 1.1.10

Notedown Error Handlers
Documentation
1
2
3
4
5
6
7
8
use crate::NoteError;
use serde_json::Error;

impl From<Error> for NoteError {
    fn from(e: Error) -> Self {
        NoteError::syntax_error(e.to_string())
    }
}