Skip to content

Commit

Permalink
Revert back DisconnectedChannelError to inherit from `ChildProcessE…
Browse files Browse the repository at this point in the history
…rror`
  • Loading branch information
althonos committed Jul 8, 2022
1 parent 1419845 commit 76174ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/py/exceptions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use pyo3::types::PyTuple;
use pyo3::types::PyString;
use pyo3::exceptions::PyValueError;
use pyo3::exceptions::PyRuntimeError;
use pyo3::exceptions::PyChildProcessError;

// --- Macros ----------------------------------------------------------------

Expand Down Expand Up @@ -138,7 +139,7 @@ impl SingleClauseError {

// --- DisconnectedChannelError ----------------------------------------------

#[pyclass(module = "fastobo.exceptions", extends = PyRuntimeError)]
#[pyclass(module = "fastobo.exceptions", extends = PyChildProcessError)]
pub struct DisconnectedChannelError {}

impl_pyerr!(DisconnectedChannelError);
Expand Down

0 comments on commit 76174ba

Please sign in to comment.