Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added InvalidOrMissingListOfNames exception

  • Loading branch information...
commit 88f64d15082822510adce6979554815ba7ff6302 1 parent ddadc0b
Johannes Gorset authored Lisa Seelye committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/reve/exceptions.rb
View
5 lib/reve/exceptions.rb
@@ -57,6 +57,8 @@ def self.raise_it(code,msg = "No Error Message From CCP Server (But one DID occu
raise UnexpectedBeforeKillID.new(msg)
when 121
raise BadBeforeKillID.new(msg)
+ when 122
+ raise InvalidOrMissingListOfNames.new(msg)
when 200
raise SecurityLevelNotHighEnough.new(msg + ' (Should you be using the full API Key?)')
when 201
@@ -214,6 +216,9 @@ class UnexpectedBeforeKillID < ReveError #:nodoc:
# 121
class BadBeforeKillID < ReveError #:nodoc:
end
+ # 122
+ class InvalidOrMissingListOfNames < ReveError #:nodoc:
+ end
# 200
class SecurityLevelNotHighEnough < ReveError #:nodoc:
end
Please sign in to comment.
Something went wrong with that request. Please try again.