1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
extern crate alloc;
/// Internal reasons of possible EVM failures. Declared in a separate module for reuse in tracers.
/// Copied from Geth and modified: https://github.com/ethereum/go-ethereum/blob/3ff99ae52c420477020ae957a61c5c216ac7e7f5/core/vm/errors.go
///
/// Note: errors marked as *Call-specific* can be returned during call (call/constructor) before any opcode execution.
/// Technically, internal VM frame doesn't exist in that moment (see `on_call_error` in Tracer trait)