Exception: StubRequests::ServiceNotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/stub_requests/exceptions.rb

Overview

ServiceNotFound is raised when a service cannot be found

Since:

  • 0.1.0

Instance Method Summary collapse

Constructor Details

#initialize(service_id) ⇒ ServiceNotFound

Returns a new instance of ServiceNotFound

Since:

  • 0.1.0



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