Skip to content

Commit 5147d9d

Browse files
chore(utils): remove unused trace errors (#107)
1 parent b6743cc commit 5147d9d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/utils/src/trace/errors.cairo

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,14 @@ use starkware_utils::errors::{Describable, ErrorDisplay};
33
#[derive(Drop)]
44
pub enum TraceErrors {
55
UNORDERED_INSERTION,
6-
EMPTY_TRACE,
76
INDEX_OUT_OF_BOUNDS,
8-
PENULTIMATE_NOT_EXIST,
97
}
108

119
impl DescribableError of Describable<TraceErrors> {
1210
fn describe(self: @TraceErrors) -> ByteArray {
1311
match self {
1412
TraceErrors::UNORDERED_INSERTION => "Unordered insertion",
15-
TraceErrors::EMPTY_TRACE => "Empty trace",
1613
TraceErrors::INDEX_OUT_OF_BOUNDS => "Index out of bounds",
17-
TraceErrors::PENULTIMATE_NOT_EXIST => "Penultimate does not exist",
1814
}
1915
}
2016
}

0 commit comments

Comments
 (0)