Expand description
Every diagnostic code elfpak can print, in one place.
The CLI renders a failure as error[E2001] and a warning as
warning[E2005]. Scripts match on those codes, so they are stable, and a
code means exactly one thing. Errors and warnings share one namespace, so
they are declared together; a single list is the only thing that can prove
there are no duplicates.
The family says what a code is about: E1xxx reads an object, E2xxx
resolves a dependency, E3xxx touches a path, E4xxx is configuration,
E5xxx is verification.
Modules§
- error
- Codes for
crate::Error, one per variant. Seecrate::Error::code. - warning
- Codes for
crate::plan::Warning. A warning never fails a build; it reports something the analysis found that the bundle cannot express.
Constants§
- ALL
- Every code
elfpakcan print, errors first.