Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: parsing warnings and improve errors (#451)
* fix: make cargo hack pass Signed-off-by: Jérémie Drouet <[email protected]> * feat!(mrml-core): introduce parse output struct with warnings Signed-off-by: Jérémie Drouet <[email protected]> * refactor(mrml-core): update warning struct Signed-off-by: Jérémie Drouet <[email protected]> * feat(mrml-wasm): output parsing warnings Signed-off-by: Jérémie Drouet <[email protected]> * feat!(mrml-python): return generated html and warnings Signed-off-by: Jérémie Drouet <[email protected]> * fix(example): return warnings Signed-off-by: Jérémie Drouet <[email protected]> * feat(mrml-cli): log warnings when validating Signed-off-by: Jérémie Drouet <[email protected]> * refactor(mrml-core): warning split in warning kind Signed-off-by: Jérémie Drouet <[email protected]> * fix(mrml-core): remove Default for Span Signed-off-by: Jérémie Drouet <[email protected]> * feat(mrml-core): add origin in warnings Signed-off-by: Jérémie Drouet <[email protected]> * fix(mrml-core): update bench code according to changes Signed-off-by: Jérémie Drouet <[email protected]> * fix(mrml-wasm): add check on warnings Signed-off-by: Jérémie Drouet <[email protected]> * feat(mrml-core): add origin to parsing errors Signed-off-by: Jérémie Drouet <[email protected]> * fix(mrml-cli): better format error Signed-off-by: Jérémie Drouet <[email protected]> * refactor(mrml-core): wrap errors into named attributes Signed-off-by: Jérémie Drouet <[email protected]> * refactor(mrml-cli): use error attributes Signed-off-by: Jérémie Drouet <[email protected]> * fix(mrml-wasm): update expected error message Signed-off-by: Jérémie Drouet <[email protected]> --------- Signed-off-by: Jérémie Drouet <[email protected]>
- Loading branch information