A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://rubydoc.info/github/piotrmurach/github/master/Github/Error/Validations below:

Validations – Documentation for piotrmurach/github (master) – RubyDoc.info

Exception: Github::Error::Validations Instance Attribute Summary Attributes inherited from ClientError

#problem, #resolution, #summary

Attributes inherited from GithubError

#response_headers, #response_message

Instance Method Summary collapse Methods inherited from ClientError

#generate_message

Methods inherited from GithubError

#backtrace

Constructor Details #initialize(errors) ⇒ Validations

Returns a new instance of Validations.

78
79
80
81
82
83
84
85
86
# File 'lib/github_api/error/client_error.rb', line 78

def initialize(errors)
  super(
    generate_message(
      problem: "Attempted to send request with nil arguments for #{errors.keys.join(', ')}.",
      summary: 'Each request expects certain number of required arguments.',
      resolution: 'Double check that the provided arguments are set to some value that is neither nil nor empty string.'
    )
  )
end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4