Catch an explicit error, rather than any error.