Make sure that the error is an error object.
Make sure that the error has the correct classes.
def__make_error_object(self, private, err)
self
private self
error object