Exception: Chronicle::NotFoundError

Inherits:
BaseError
  • Object
show all
Defined in:
app/errors/chronicle/not_found_error.rb

Instance Attribute Summary

Attributes inherited from BaseError

#status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = 'Resource not found') ⇒ NotFoundError

Returns a new instance of NotFoundError.



3
4
5
# File 'app/errors/chronicle/not_found_error.rb', line 3

def initialize(message = 'Resource not found')
  super(message, 404)
end