Class: Glia::Errors::RouteNotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/glia/errors/client_errors.rb

Instance Attribute Summary

Attributes inherited from Error

#error_details, #message, #ref, #type

Instance Method Summary collapse

Methods inherited from Error

#to_h

Constructor Details

#initialize(message: nil) ⇒ RouteNotFoundError

Returns a new instance of RouteNotFoundError.



272
273
274
275
276
# File 'lib/glia/errors/client_errors.rb', line 272

def initialize(message: nil)
  super(
    type: ROUTE_NOT_FOUND_ERROR, ref: create_ref(ROUTE_NOT_FOUND_ERROR), message: message || 'Route not found'
  )
end