MCPcopy Create free account
hub / github.com/archlinux/alpm / from

Method from

python-alpm/src/types/version.rs:35–37  ·  view source on GitHub ↗
(err: SemverError)

Source from the content-addressed store, hash-verified

33
34impl From<SemverError> for PyErr {
35 fn from(err: SemverError) -> PyErr {
36 crate::types::ALPMError::new_err(err.0.to_string())
37 }
38}
39
40#[pyclass(frozen, eq, ord, from_py_object)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected