Class: Glia::Errors::RouteNotFoundError
- Defined in:
- lib/glia/errors/client_errors.rb
Instance Attribute Summary
Attributes inherited from Error
#error_details, #message, #ref, #type
Instance Method Summary collapse
-
#initialize(message: nil) ⇒ RouteNotFoundError
constructor
A new instance of RouteNotFoundError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ RouteNotFoundError
Returns a new instance of RouteNotFoundError.
262 263 264 265 266 267 268 |
# File 'lib/glia/errors/client_errors.rb', line 262 def initialize(message: nil) super( type: ROUTE_NOT_FOUND_ERROR, ref: create_ref(ROUTE_NOT_FOUND_ERROR), message: || 'Route not found' ) end |