You should use `erlang:error/2` with the given arguments to better mimick what the VM does itself.