Exception: Uploadcare::Error::ServerError
- Inherits:
-
Uploadcare::Error
- Object
- StandardError
- Uploadcare::Error
- Uploadcare::Error::ServerError
- Defined in:
- lib/uploadcare/errors/errors.rb
Overview
all 5xx error
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ ServerError
constructor
A new instance of ServerError.
Methods inherited from Uploadcare::Error
Constructor Details
#initialize(message = nil) ⇒ ServerError
Returns a new instance of ServerError.
52 53 54 |
# File 'lib/uploadcare/errors/errors.rb', line 52 def initialize( = nil ) super( || "HTTP 5xx - a server error occured." ) end |