#250 Add support for runtime errors