support expcetion in :hs