Moved exceptions to a separate package to leave main package free of garbage