Exception: Uploadcare::Error::ServerError

Inherits:
Uploadcare::Error show all
Defined in:
lib/uploadcare/errors/errors.rb

Overview

all 5xx error

Instance Method Summary collapse

Methods inherited from Uploadcare::Error

define_error, errors

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( message = nil )
  super( message || "HTTP 5xx - a server error occured." )
end