Skip to content

Commit 7acac5e

Browse files
committed
chore: update name of base exeption
1 parent 636de78 commit 7acac5e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

binding/python/src/error.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ use pyo3::prelude::*;
33

44
pyo3::create_exception!(
55
synlink,
6-
SynLinkBaseException,
6+
SynlinkBaseException,
77
PyException,
8-
"Custom Base exception on the SL protocol"
8+
"Base exception on the Synapse Network protocol"
99
);
1010

1111
/// A Python module implemented in Rust.
1212
#[pymodule]
1313
pub(crate) fn register_exception(m: &Bound<'_, PyModule>) -> PyResult<()> {
1414
let error_m = PyModule::new(m.py(), "_error")?;
1515
error_m.add(
16-
"SynLinkBaseException",
17-
error_m.py().get_type::<SynLinkBaseException>(),
16+
"SynlinkBaseException",
17+
error_m.py().get_type::<SynlinkBaseException>(),
1818
)?;
1919

2020
m.add_submodule(&error_m)

0 commit comments

Comments
 (0)