Exception: Lookbook::RoutingError

Inherits:
Error
  • Object
show all
Defined in:
lib/lookbook/support/errors/routing_error.rb

Instance Attribute Summary

Attributes inherited from Error

#detail, #original, #scope, #source, #status

Instance Method Summary collapse

Methods inherited from Error

#backtrace, #backtrace_lines, #file_path, #line_number, #message, #relative_file_path, #type

Constructor Details

#initialize(msg = nil, scope: "request", **kwargs) ⇒ RoutingError

Returns a new instance of RoutingError.



3
4
5
# File 'lib/lookbook/support/errors/routing_error.rb', line 3

def initialize(msg = nil, scope: "request", **kwargs)
  super(msg, scope: scope, status: :not_found, **kwargs)
end