Exception: BitBucket::Error::BitBucketError
- Inherits:
-
StandardError
- Object
- StandardError
- BitBucket::Error::BitBucketError
- Defined in:
- lib/bitbucket_rest_api/error.rb
Direct Known Subclasses
ClientError, Forbidden, InternalServerError, ServiceError, ServiceUnavailable, Unauthorized, UnprocessableEntity
Instance Attribute Summary collapse
-
#response_headers ⇒ Object
readonly
Returns the value of attribute response_headers.
-
#response_message ⇒ Object
readonly
Returns the value of attribute response_message.
Instance Method Summary collapse
-
#initialize(message) ⇒ BitBucketError
constructor
A new instance of BitBucketError.
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() super @response_message = end |
Instance Attribute Details
#response_headers ⇒ Object (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_message ⇒ Object (readonly)
Returns the value of attribute response_message.
5 6 7 |
# File 'lib/bitbucket_rest_api/error.rb', line 5 def @response_message end |