diff options
| author | main <main@swarm.moe> | 2026-03-20 16:00:30 -0400 |
|---|---|---|
| committer | main <main@swarm.moe> | 2026-03-20 16:00:30 -0400 |
| commit | 9d63844f3a28fde70b19500422f17379e99e588a (patch) | |
| tree | 163cfbd65a8d3528346561410ef39eb1183a16f2 /crates/fidget-spinner-core/src/error.rs | |
| parent | 22fe3d2ce7478450a1d7443c4ecbd85fd4c46716 (diff) | |
| download | fidget_spinner-9d63844f3a28fde70b19500422f17379e99e588a.zip | |
Refound Spinner as an austere frontier ledger
Diffstat (limited to 'crates/fidget-spinner-core/src/error.rs')
| -rw-r--r-- | crates/fidget-spinner-core/src/error.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/fidget-spinner-core/src/error.rs b/crates/fidget-spinner-core/src/error.rs index eb05ba7..a095f57 100644 --- a/crates/fidget-spinner-core/src/error.rs +++ b/crates/fidget-spinner-core/src/error.rs @@ -10,6 +10,12 @@ pub enum CoreError { "invalid tag name `{0}`; expected lowercase ascii alphanumerics separated by `-`, `_`, or `/`" )] InvalidTagName(String), + #[error("slug values must not be blank")] + EmptySlug, + #[error("invalid slug `{0}`; expected lowercase ascii alphanumerics separated by `-` or `_`")] + InvalidSlug(String), + #[error("slug `{0}` is ambiguous with a UUID selector")] + UuidLikeSlug(String), #[error("command recipes must contain at least one argv element")] EmptyCommand, } |