Exception: DefraRubyMocks::MissingResourceError

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

Instance Method Summary collapse

Constructor Details

#initialize(reference) ⇒ MissingResourceError

Returns a new instance of MissingResourceError.



5
6
7
# File 'lib/defra_ruby_mocks/missing_resource_error.rb', line 5

def initialize(reference)
  super("Could not find resource: #{reference}")
end