Rename elaborate_error to handle_error