feat: update error imports

This commit is contained in:
James
2022-12-27 22:37:51 +00:00
committed by GitHub
parent d72b6ecaa4
commit c6506c7f0b
+2 -2
View File
@@ -2,8 +2,8 @@ use std::{error::Error, fmt::Write};
use pyo3::{create_exception, exceptions::PyException};
create_exception!(rosu_pp_py, KwargsError, PyException);
create_exception!(rosu_pp_py, ParseError, PyException);
create_exception!(akatsuki_pp_py, KwargsError, PyException);
create_exception!(akatsuki_pp_py, ParseError, PyException);
pub trait ErrorExt {
fn unwind(&self, cause: &str) -> String;