Exception: Ekispert::Error::ClientError

Inherits:
Ekispert::Error show all
Defined in:
lib/ekispert/error.rb

Direct Known Subclasses

BadRequest, Forbidden, NotFound

Instance Method Summary collapse

Constructor Details

#initialize(res) ⇒ ClientError

Returns a new instance of ClientError.



4
5
6
7
# File 'lib/ekispert/error.rb', line 4

def initialize(res)
  @res = res
  super(format_error_body)
end