Allow :on_error to be set as a default.