exit on any function, echo on any function