modError is instantiated when sending fails