Exception: BitBucket::Error::Validations

Inherits:
ClientError show all
Defined in:
lib/bitbucket_rest_api/error/validations.rb

Instance Attribute Summary

Attributes inherited from ClientError

#problem, #resolution, #summary

Attributes inherited from BitBucketError

#response_headers, #response_message

Instance Method Summary collapse

Methods inherited from ClientError

#generate_message

Constructor Details

#initialize(errors) ⇒ Validations

Returns a new instance of Validations.



7
8
9
10
11
12
13
14
15
# File 'lib/bitbucket_rest_api/error/validations.rb', line 7

def initialize(errors)
  super(
    generate_message(
      :problem => '',
      :summary => '',
      :resolution => ''
    )
  )
end