We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 636de78 commit 7acac5eCopy full SHA for 7acac5e
binding/python/src/error.rs
@@ -3,18 +3,18 @@ use pyo3::prelude::*;
3
4
pyo3::create_exception!(
5
synlink,
6
- SynLinkBaseException,
+ SynlinkBaseException,
7
PyException,
8
- "Custom Base exception on the SL protocol"
+ "Base exception on the Synapse Network protocol"
9
);
10
11
/// A Python module implemented in Rust.
12
#[pymodule]
13
pub(crate) fn register_exception(m: &Bound<'_, PyModule>) -> PyResult<()> {
14
let error_m = PyModule::new(m.py(), "_error")?;
15
error_m.add(
16
- "SynLinkBaseException",
17
- error_m.py().get_type::<SynLinkBaseException>(),
+ "SynlinkBaseException",
+ error_m.py().get_type::<SynlinkBaseException>(),
18
)?;
19
20
m.add_submodule(&error_m)
0 commit comments