Factor exceptions into exceptions.rb