hide exception fn