Exception: Progressrus::StoreNotFoundError

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

Instance Method Summary collapse

Constructor Details

#initialize(store) ⇒ StoreNotFoundError

Returns a new instance of StoreNotFoundError.



25
26
27
28
29
30
31
# File 'lib/progressrus.rb', line 25

def initialize(store)
  message = <<~MSG
    The store `#{store}` does not exists.
    Available stores: #{Progressrus.stores.keys.join(', ')}
  MSG
  super(message)
end