Resource knows whether it is an error