mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-27 02:38:10 -07:00
global: snapshot
This commit is contained in:
@@ -117,7 +117,7 @@ pub enum Error {
|
||||
#[error("{0}")]
|
||||
OutOfRange(String),
|
||||
|
||||
#[error("Parse error: {0}")]
|
||||
#[error("{0}")]
|
||||
Parse(String),
|
||||
|
||||
#[error("Internal error: {0}")]
|
||||
@@ -136,6 +136,9 @@ pub enum Error {
|
||||
#[error("No metrics specified")]
|
||||
NoMetrics,
|
||||
|
||||
#[error("No data available")]
|
||||
NoData,
|
||||
|
||||
#[error("Request weight {requested} exceeds maximum {max}")]
|
||||
WeightExceeded { requested: usize, max: usize },
|
||||
|
||||
|
||||
Reference in New Issue
Block a user