Enum cranefack::RuntimeError [−][src]
pub enum RuntimeError { MaxHeapSizeReached { span: Range<usize>, max_heap_size: usize, required: usize, }, IoError { span: Range<usize>, error: Error, }, }
Expand description
Runtime errors for interpreter invocations
Variants
The program tries to use a heap cell beyond the maximu allowed size
Reading or writing with ops , or . failed
Trait Implementations
Return error message with optional source position and optional source label
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl !RefUnwindSafe for RuntimeError
impl Send for RuntimeError
impl Sync for RuntimeError
impl Unpin for RuntimeError
impl !UnwindSafe for RuntimeError