Exception: Octopi::NotFound

Inherits:
Exception
  • Object
show all
Defined in:
lib/octopi/error.rb

Instance Method Summary (collapse)

Constructor Details

- (NotFound) initialize(klass)

Returns a new instance of NotFound



31
32
33
# File 'lib/octopi/error.rb', line 31

def initialize(klass)
  super "The #{klass.to_s.split("::").last} you were looking for could not be found, or is private."
end