Regularized error handling.