Exception: Fortitude::Errors::TagNotFound

Inherits:
Base
  • Object
show all
Defined in:
lib/fortitude/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tag_store, tag_name) ⇒ TagNotFound

Returns a new instance of TagNotFound.



146
147
148
149
150
# File 'lib/fortitude/errors.rb', line 146

def initialize(tag_store, tag_name)
  super(%{The tag store #{tag_store} has no tag named #{tag_name.inspect}.})
  @tag_store = tag_store
  @tag_name = tag_name
end

Instance Attribute Details

#tag_nameObject (readonly)

Returns the value of attribute tag_name.



144
145
146
# File 'lib/fortitude/errors.rb', line 144

def tag_name
  @tag_name
end

#tag_storeObject (readonly)

Returns the value of attribute tag_store.



144
145
146
# File 'lib/fortitude/errors.rb', line 144

def tag_store
  @tag_store
end