use crumbkit::Code;
pub const SPEC_NOT_FOUND: Code = Code::new("starmap", "spec", "not_found");
pub const SPEC_UNREADABLE: Code = Code::new("starmap", "spec", "unreadable");
pub const SPEC_EXISTS: Code = Code::new("starmap", "spec", "exists");
pub const SPEC_UNWRITABLE: Code = Code::new("starmap", "spec", "unwritable");
pub const SPEC_TOO_LARGE: Code = Code::new("starmap", "spec", "too_large");
pub const SPEC_SYNTAX: Code = Code::new("starmap", "spec", "syntax");
pub const SPEC_UNKNOWN_FIELD: Code = Code::new("starmap", "spec", "unknown_field");
pub const SPEC_MISSING_FIELD: Code = Code::new("starmap", "spec", "missing_field");
pub const SPEC_BAD_VALUE: Code = Code::new("starmap", "spec", "bad_value");
pub const SPEC_BAD_NAME: Code = Code::new("starmap", "spec", "bad_name");
pub const SPEC_GUESS: Code = Code::new("starmap", "spec", "guess");
pub const SPEC_BAD_DEFAULT: Code = Code::new("starmap", "spec", "bad_default");
pub const SPEC_BAD_RANGE: Code = Code::new("starmap", "spec", "bad_range");
pub const SPEC_EMPTY_ENUMERATION: Code = Code::new("starmap", "spec", "empty_enumeration");
pub const SPEC_SHOWN_SECRET: Code = Code::new("starmap", "spec", "shown_secret");
pub const SPEC_SECRET_FORM: Code = Code::new("starmap", "spec", "secret_form");
pub const SPEC_BIND_MISMATCH: Code = Code::new("starmap", "spec", "bind_mismatch");
pub const SPEC_BAD_BYTES: Code = Code::new("starmap", "spec", "bad_bytes");
pub const SPEC_UNKNOWN_PLACEHOLDER: Code = Code::new("starmap", "spec", "unknown_placeholder");
pub const SPEC_MODE_UNDECLARED: Code = Code::new("starmap", "spec", "mode_undeclared");
pub const SPEC_MODE_SOURCE: Code = Code::new("starmap", "spec", "mode_source");
pub const VARIABLE_UNKNOWN: Code = Code::new("starmap", "variable", "unknown");
pub const VARIABLE_UNDECLARED: Code = Code::new("starmap", "variable", "undeclared");
pub const SOURCE_UNREADABLE: Code = Code::new("starmap", "source", "unreadable");
pub const REVISION_NO_REPOSITORY: Code = Code::new("starmap", "revision", "no_repository");
pub const REVISION_NOT_FOUND: Code = Code::new("starmap", "revision", "not_found");
pub const REVISION_UNREADABLE: Code = Code::new("starmap", "revision", "unreadable");
pub const DOTENV_SECRET: Code = Code::new("starmap", "dotenv", "secret");
pub const DOTENV_SYNTAX: Code = Code::new("starmap", "dotenv", "syntax");
pub const DOTENV_UNREADABLE: Code = Code::new("starmap", "dotenv", "unreadable");
pub const VARIABLE_SECRET: Code = Code::new("starmap", "variable", "secret");
pub const VARIABLE_MISSING: Code = Code::new("starmap", "variable", "missing");
pub const VARIABLE_INVALID: Code = Code::new("starmap", "variable", "invalid");
pub const BIND_NO_PROVIDER: Code = Code::new("starmap", "bind", "no_provider");
pub const BIND_NO_PLACE: Code = Code::new("starmap", "bind", "no_place");
pub const SECRET_UNBOUND: Code = Code::new("starmap", "secret", "unbound");
pub const SECRET_UNREADABLE: Code = Code::new("starmap", "secret", "unreadable");
pub const ALL: &[&Code] = &[
&SPEC_NOT_FOUND,
&SPEC_UNREADABLE,
&SPEC_EXISTS,
&SPEC_UNWRITABLE,
&SPEC_TOO_LARGE,
&SPEC_SYNTAX,
&SPEC_UNKNOWN_FIELD,
&SPEC_MISSING_FIELD,
&SPEC_BAD_VALUE,
&SPEC_BAD_NAME,
&SPEC_GUESS,
&SPEC_BAD_DEFAULT,
&SPEC_BAD_RANGE,
&SPEC_EMPTY_ENUMERATION,
&SPEC_SHOWN_SECRET,
&SPEC_SECRET_FORM,
&SPEC_BIND_MISMATCH,
&SPEC_BAD_BYTES,
&SPEC_UNKNOWN_PLACEHOLDER,
&SPEC_MODE_UNDECLARED,
&SPEC_MODE_SOURCE,
&VARIABLE_UNKNOWN,
&VARIABLE_UNDECLARED,
&SOURCE_UNREADABLE,
&REVISION_NO_REPOSITORY,
&REVISION_NOT_FOUND,
&REVISION_UNREADABLE,
&DOTENV_SECRET,
&DOTENV_SYNTAX,
&DOTENV_UNREADABLE,
&VARIABLE_SECRET,
&VARIABLE_MISSING,
&VARIABLE_INVALID,
&BIND_NO_PROVIDER,
&BIND_NO_PLACE,
&SECRET_UNBOUND,
&SECRET_UNREADABLE,
];