lib/stub_requests/exceptions.rb in stub_requests-0.1.2 vs lib/stub_requests/exceptions.rb in stub_requests-0.1.3

- old
+ new

@@ -16,16 +16,12 @@ # EndpointNotFound is raised when an endpoint cannot be found # class EndpointNotFound < Error; end # - # InvalidType is raised when an argument is invalid + # Class InvalidCallback is raised when a callback argument doesn't have the correct number of arguments # - class InvalidType < Error - def initialize(actual, expected) - super("Expected `#{actual}` to be any of [#{expected}]") - end - end + class InvalidCallback < Error; end # # InvalidArgumentType is raised when an argument is not of the expected type # class InvalidArgumentType < Error