feat: update error imports
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@ use std::{error::Error, fmt::Write};
|
|||||||
|
|
||||||
use pyo3::{create_exception, exceptions::PyException};
|
use pyo3::{create_exception, exceptions::PyException};
|
||||||
|
|
||||||
create_exception!(rosu_pp_py, KwargsError, PyException);
|
create_exception!(akatsuki_pp_py, KwargsError, PyException);
|
||||||
create_exception!(rosu_pp_py, ParseError, PyException);
|
create_exception!(akatsuki_pp_py, ParseError, PyException);
|
||||||
|
|
||||||
pub trait ErrorExt {
|
pub trait ErrorExt {
|
||||||
fn unwind(&self, cause: &str) -> String;
|
fn unwind(&self, cause: &str) -> String;
|
||||||
|
|||||||
Reference in New Issue
Block a user