lib/lotus/routing/endpoint.rb in lotus-router-0.1.0 vs lib/lotus/routing/endpoint.rb in lotus-router-0.1.1
- old
+ new
@@ -5,10 +5,10 @@
module Routing
# Endpoint not found
# This is raised when the router fails to load an endpoint at the runtime.
#
# @since 0.1.0
- class EndpointNotFound < ::Exception
+ class EndpointNotFound < ::StandardError
end
# Routing endpoint
# This is the object that responds to an HTTP request made against a certain
# path.