Exception: Render::Errors::Definition::NotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/render/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(title) ⇒ NotFound

Returns a new instance of NotFound.



59
60
61
# File 'lib/render/errors.rb', line 59

def initialize(title)
  self.title = title
end

Instance Attribute Details

#titleObject

Returns the value of attribute title.



57
58
59
# File 'lib/render/errors.rb', line 57

def title
  @title
end

Instance Method Details

#to_sObject



63
64
65
# File 'lib/render/errors.rb', line 63

def to_s
  "Schema with title #{title} is not loaded"
end