Exception: CredHubble::Http::Error
- Inherits:
-
Exceptions::Error
- Object
- StandardError
- Exceptions::Error
- CredHubble::Http::Error
- Defined in:
- lib/cred_hubble/http/errors.rb
Direct Known Subclasses
BadRequestError, ForbiddenError, InternalServerError, NotFoundError, SSLError, UnauthorizedError, UnknownError
Class Method Summary collapse
Class Method Details
.from_response(response) ⇒ Object
4 5 6 7 |
# File 'lib/cred_hubble/http/errors.rb', line 4 def self.from_response(response) = "status: #{response.status}, body: #{response.body}" new() end |