We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6743cc commit 5147d9dCopy full SHA for 5147d9d
packages/utils/src/trace/errors.cairo
@@ -3,18 +3,14 @@ use starkware_utils::errors::{Describable, ErrorDisplay};
3
#[derive(Drop)]
4
pub enum TraceErrors {
5
UNORDERED_INSERTION,
6
- EMPTY_TRACE,
7
INDEX_OUT_OF_BOUNDS,
8
- PENULTIMATE_NOT_EXIST,
9
}
10
11
impl DescribableError of Describable<TraceErrors> {
12
fn describe(self: @TraceErrors) -> ByteArray {
13
match self {
14
TraceErrors::UNORDERED_INSERTION => "Unordered insertion",
15
- TraceErrors::EMPTY_TRACE => "Empty trace",
16
TraceErrors::INDEX_OUT_OF_BOUNDS => "Index out of bounds",
17
- TraceErrors::PENULTIMATE_NOT_EXIST => "Penultimate does not exist",
18
19
20
0 commit comments