Exception: Otto::RouteDefinitionError
- Inherits:
-
StandardError
- Object
- StandardError
- Otto::RouteDefinitionError
- Defined in:
- lib/otto/errors.rb
Overview
Raised at route-load time when a route definition is malformed in a way that must not be silently ignored — e.g. a security-gating option (auth/role/csrf) without a value. Unlike generic per-line load errors, this error propagates out of Otto#load so the app fails at boot instead of serving the route with default (less safe) behavior.