Exception: StubRequests::ServiceNotFound
- Defined in:
- lib/stub_requests/exceptions.rb
Overview
ServiceNotFound is raised when a service cannot be found
Instance Method Summary collapse
-
#initialize(service_id) ⇒ ServiceNotFound
constructor
A new instance of ServiceNotFound.
Constructor Details
#initialize(service_id) ⇒ ServiceNotFound
Returns a new instance of ServiceNotFound
89 90 91 |
# File 'lib/stub_requests/exceptions.rb', line 89 def initialize(service_id) super("Couldn't find a service with id=:#{service_id}") end |