yet more annoying things...
add a way to process errors

Signed-off-by: Suki <suki@missallsunday.com>