api exceptions export; allow to override methods of api clients