Wrote _inline_throw_error & tests for it