Exception: BitBucket::Error::BitBucketError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bitbucket_rest_api/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ BitBucketError

Returns a new instance of BitBucketError.



7
8
9
10
# File 'lib/bitbucket_rest_api/error.rb', line 7

def initialize(message)
  super message
  @response_message = message
end

Instance Attribute Details

#response_headersObject (readonly)

Returns the value of attribute response_headers.



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

def response_headers
  @response_headers
end

#response_messageObject (readonly)

Returns the value of attribute response_message.



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

def response_message
  @response_message
end