Use error objects