Exception: DefraRubyMocks::MissingResourceError
- Inherits:
-
StandardError
- Object
- StandardError
- DefraRubyMocks::MissingResourceError
- Defined in:
- lib/defra_ruby_mocks/missing_resource_error.rb
Instance Method Summary collapse
-
#initialize(reference) ⇒ MissingResourceError
constructor
A new instance of MissingResourceError.
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 |