Exception: Render::Errors::Graph::EndpointKeyNotFound

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config_key) ⇒ EndpointKeyNotFound

Returns a new instance of EndpointKeyNotFound.



21
22
23
# File 'lib/render/errors.rb', line 21

def initialize(config_key)
  self.config_key = config_key
end

Instance Attribute Details

#config_keyObject

Returns the value of attribute config_key.



19
20
21
# File 'lib/render/errors.rb', line 19

def config_key
  @config_key
end

Instance Method Details

#to_sObject



25
26
27
# File 'lib/render/errors.rb', line 25

def to_s
  "No value for key #{config_key} found in config or parental_attributes."
end