Exception: Boar::Exceptions::NotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/boar/exceptions.rb

Instance Attribute Summary

Attributes inherited from Error

#code

Instance Method Summary collapse

Methods inherited from Error

must_raise?

Constructor Details

#initialize(message = nil) ⇒ NotFound

Returns a new instance of NotFound.



41
42
43
# File 'lib/boar/exceptions.rb', line 41

def initialize(message = nil)
  super(404, message)
end