fix: improve error message for storage read group command (#5915)
* fix: improve error message for storage read group command * fix: fmt Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>pull/24376/head
parent
487f4a420f
commit
3fd0c5e4c2
|
|
@ -40,7 +40,10 @@ pub enum ParseError {
|
|||
#[snafu(display("unsupported aggregate type: '{:?}'", agg))]
|
||||
Aggregate { agg: String },
|
||||
|
||||
#[snafu(display("unsupported group: '{:?}'", group))]
|
||||
#[snafu(display(
|
||||
"unsupported group. Expected '0', 'none', '2', or 'by': got '{:?}'",
|
||||
group
|
||||
))]
|
||||
Group { group: String },
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue