Ah ok, or should I write a generic error handing function which returns an EndState everytime?