Exception: Uploadcare::Error::RequestError

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

Overview

all 4xx error

Instance Method Summary collapse

Methods inherited from Uploadcare::Error

define_error, errors

Constructor Details

#initialize(message = nil) ⇒ RequestError

Returns a new instance of RequestError.



36
37
38
# File 'lib/uploadcare/errors/errors.rb', line 36

def initialize( message = nil )
  super( message || "HTTP 4xx - a request error occured." )
end