verifying the error thrown