Allow runtime errors

Fixed #34.

- [x] Implement feature.
- [x] Write tests.