Exception: Tango::Error::ClientError
- Inherits:
-
Tango::Error
- Object
- StandardError
- Tango::Error
- Tango::Error::ClientError
- Defined in:
- lib/tango/error.rb
Instance Attribute Summary
Attributes inherited from Tango::Error
Class Method Summary collapse
Methods inherited from Tango::Error
#backtrace, from_status_code, #initialize
Constructor Details
This class inherits a constructor from Tango::Error
Class Method Details
.raise_on?(status_code) ⇒ Boolean
29 30 31 |
# File 'lib/tango/error.rb', line 29 def self.raise_on?(status_code) 400 <= status_code && status_code < 500 end |