Exception: RequestError
- Inherits:
-
StandardError
- Object
- StandardError
- RequestError
- Defined in:
- lib/consumer_score.rb
Instance Method Summary collapse
-
#initialize(code, message) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(code, message) ⇒ RequestError
Returns a new instance of RequestError.
10 11 12 |
# File 'lib/consumer_score.rb', line 10 def initialize(code, ) super(code + ': ' + ) end |