Move simple error classes into error.rb