Skip to main content

Crate rolldown_error

Crate rolldown_error 

Source

Structs§

AmbiguousExternalNamespaceModule
BatchedBuildDiagnostic
BuildDiagnostic
BundlerInitializeError
CausedPlugin
DiagnosableResolveError
Diagnostic
DiagnosticOptions
DiagnosticPrimaryLocation
Primary source location of a diagnostic’s first label.
Diagnostics
A mixed-severity diagnostic accumulator.
EventKindSwitcher
ImportChainNote
PluginTiming
What one callback cost, measured inside it on the JavaScript side.
PluginTimings
PluginTimingsMeasurement
One build’s worth of JavaScript-side measurement.
RenderedDiagnostic
A diagnostic rendered to its display string together with its primary location.
RequireTla
UnloadableDependencyContext

Enums§

CjsExportSpan
Only record start offset for efficiency and simplicity
DiagnosableArcstr
A Hybrid string type used for diagnostic, e.g. for UnresolvedError, a specifier could be either a slice from raw source, or created during ast transformation. When the specifier came from raw source, we could use the Span information to give user better DX, otherwise, we could just use the string to create a fallback message.
EmptyImportMetaKind
What produced the empty import.meta a warning is being raised about.
EventKind
InvalidOptionType
PluginTimingKind
Where a measured callback was configured, so a report can tell a plugin’s hook from a user callback the core invokes directly. The warning below does not use it; it is carried for the other consumers of the same measurement.
Severity

Traits§

ResultExt

Functions§

consolidate_diagnostics
Consolidates diagnostics by merging those that can be grouped together.
downcast_napi_error_diagnostics
filter_out_disabled_diagnostics
resolve_error_to_message
Converts an oxc resolver error to a human-readable error message.

Type Aliases§

BuildResult
SingleBuildResult