bugbite 0.0.15

library for bug, issue, and ticket mangling
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use pyo3::exceptions::PyException;
use pyo3::{PyErr, create_exception};

use super::Error;

create_exception!(bugbite, BugbiteError, PyException, "Generic bugbite error.");

impl From<Error> for PyErr {
    fn from(err: Error) -> PyErr {
        BugbiteError::new_err(err.to_string())
    }
}