Exception: Contentful::EmptyFieldError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/contentful/error.rb

Overview

Raised when an undefined field is requested

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ EmptyFieldError

Returns a new instance of EmptyFieldError.



207
208
209
# File 'lib/contentful/error.rb', line 207

def initialize(name)
  super("The field '#{name}' is empty and unavailable in the response")
end