refactor: hide exception classes