Exception: Eluvia::Errors::NotFound

Inherits:
StandardError show all
Defined in:
lib/eluvia/errors/not_found.rb

Instance Attribute Summary

Attributes inherited from StandardError

#error, #message, #no_sentry, #source, #status, #timestamp

Instance Method Summary collapse

Methods inherited from StandardError

#to_h, #to_s

Constructor Details

#initialize(message = nil) ⇒ NotFound

Returns a new instance of NotFound.



5
6
7
8
9
10
11
12
13
# File 'lib/eluvia/errors/not_found.rb', line 5

def initialize(message = nil)
  super(
    message || "The requested resource could not be found but may be available in the future.",
    "Not Found",
    404,
    nil,
    false
  )
end