Exception: VixenRename::VixenAPIError
- Inherits:
-
StandardError
- Object
- StandardError
- VixenRename::VixenAPIError
- Defined in:
- lib/vixen_rename.rb
Overview
Exception class when a Vixen API sends a non-200 response
Instance Method Summary collapse
-
#initialize(code, body, msg = nil) ⇒ VixenAPIError
constructor
A new instance of VixenAPIError.
Constructor Details
#initialize(code, body, msg = nil) ⇒ VixenAPIError
Returns a new instance of VixenAPIError.
17 18 19 20 21 |
# File 'lib/vixen_rename.rb', line 17 def initialize(code, body, msg = nil) @code = code @body = body super(msg) end |