8 lines
160 B
Rust
8 lines
160 B
Rust
use fix_error::Error;
|
|
|
|
use crate::VmError;
|
|
|
|
pub(crate) fn vm_err(msg: impl Into<String>) -> VmError {
|
|
VmError::Uncatchable(Error::eval_error(msg.into()))
|
|
}
|