Method: Gitlab::Error::ResponseError#initialize

Defined in:
lib/gitlab/error.rb

#initialize(response) ⇒ ResponseError

Returns a new instance of ResponseError.

[View source]

18
19
20
21
# File 'lib/gitlab/error.rb', line 18

def initialize(response)
  @response = response
  super(build_error_message)
end