Simple error handler utilities.