Exception: BitBucket::Error::BadEvents

Inherits:
ClientError show all
Defined in:
lib/bitbucket_rest_api/error/bad_events.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(event) ⇒ BadEvents

Returns a new instance of BadEvents.



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

def initialize(event)
  super "The event: '#{event}', does not exist :("
end