passed e object to the error message