Rudimentary error handling in the runtime