extract exception-throwing functions
0.5.3