Skip to content

Commit 91fb897

Browse files
ityuanyclaude
andauthored
feat: export ErrorData from rspack_error crate (#12166)
Add ErrorData to the public exports to allow external access to error data structures. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent 15354e6 commit 91fb897

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rspack_error/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub use self::{
1616
diagnostic::Diagnostic,
1717
diagnostic_array::{IntoTWithDiagnosticArray, TWithDiagnosticArray},
1818
displayer::{Display, Renderer, StdioDisplayer, StringDisplayer},
19-
error::{Error, Label, Severity},
19+
error::{Error, ErrorData, Label, Severity},
2020
};
2121

2222
pub type Result<T, E = Error> = std::result::Result<T, E>;

0 commit comments

Comments
 (0)