Files
nix-js/fix-vm/src/helpers.rs
T

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()))
}