mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 12:24:16 +00:00
Split errors out into a separate module
This commit is contained in:
parent
73024beb98
commit
10d6aa199c
3 changed files with 79 additions and 72 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
mod interpreter;
|
||||
use interpreter::{ComponentCompiler, PyDiagnostic, PyDiagnosticLevel, PyValueType};
|
||||
mod errors;
|
||||
|
||||
use pyo3::prelude::*;
|
||||
|
||||
|
|
@ -12,5 +13,6 @@ fn slint(_py: Python<'_>, m: &PyModule) -> PyResult<()> {
|
|||
m.add_class::<PyValueType>()?;
|
||||
m.add_class::<PyDiagnosticLevel>()?;
|
||||
m.add_class::<PyDiagnostic>()?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue