yggdrasil-error 0.1.0

Yggdrasil Shared Structure
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::*;

#[cfg(feature = "lsp-types")]
mod for_lsp;
#[cfg(feature = "ropey")]
mod for_ropey;

impl From<url::ParseError> for YggdrasilError {
    fn from(_: url::ParseError) -> Self {
        Self { kind: Box::new(IOError(std::io::Error::from_raw_os_error(10022))), file: None, range: None }
    }
}