better error dropping

This commit is contained in:
2026-03-16 19:39:24 -04:00
parent 507dc6d780
commit d8fc286e94
6 changed files with 51 additions and 11 deletions

View File

@ -31,6 +31,9 @@ fn jspg_failure() -> JsonB {
message: "JSPG extension has not been initialized via jspg_setup".to_string(),
details: crate::drop::ErrorDetails {
path: "".to_string(),
cause: None,
context: None,
schema: None,
},
};
let drop = crate::drop::Drop::with_errors(vec![error]);