switch to shatter
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
use crate::parser;
|
||||
use shatter::parser;
|
||||
|
||||
#[derive(Eq, PartialEq, Debug)]
|
||||
pub enum Error {
|
||||
Nostr(enostr::Error),
|
||||
Parse(parser::Error),
|
||||
Shatter(parser::Error),
|
||||
Generic(String),
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ impl From<String> for Error {
|
||||
|
||||
impl From<parser::Error> for Error {
|
||||
fn from(s: parser::Error) -> Self {
|
||||
Error::Parse(s)
|
||||
Error::Shatter(s)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user