use wll::{Error, ErrorKind, Result}; #[wll::setup] fn setup() {} #[wll::teardown] fn teardown() {} #[wll::export] fn add_two(a: isize, b: isize) -> Result { a.checked_add(b) .ok_or_else(|| Error::from(ErrorKind::NumericalError)) } fn main() {}