Exception: PivotalTracker::Error

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

Direct Known Subclasses

BadRequest, Unauthorized

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Error

Returns a new instance of Error.



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

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



2
3
4
# File 'lib/pivotal_tracker/error.rb', line 2

def data
  @data
end