Handle a couple error cases