You should phrase this differently: `should return an error object` would be fine.