Cast NSError to YADMJSONModelError