error objects in callback