Exception: StubRequests::InvalidUri

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

Overview

InvalidUri is raised when a URI is invalid

Since:

  • 0.1.0

Instance Method Summary collapse

Constructor Details

#initialize(uri) ⇒ InvalidUri

Returns a new instance of InvalidUri

Since:

  • 0.1.0



70
71
72
# File 'lib/stub_requests/exceptions.rb', line 70

def initialize(uri)
  super("'#{uri}' is not a valid URI.")
end