lib/github_api/error/validations.rb in github_api-0.6.3 vs lib/github_api/error/validations.rb in github_api-0.6.4
- old
+ new
@@ -5,12 +5,12 @@
module Error
class Validations < ClientError
def initialize(errors)
super(
generate_message(
- :problem => '',
- :summary => '',
- :resolution => ''
+ :problem => "Attempted to send request with nil arguments for #{errors.keys.join(', ')}.",
+ :summary => 'Each request expects certain number of arguments.',
+ :resolution => 'Double check that the provided arguments are set to some value.'
)
)
end
end
end # Error