Exception: Contentful::EmptyFieldError
- Inherits:
-
StandardError
- Object
- StandardError
- Contentful::EmptyFieldError
- Defined in:
- lib/contentful/error.rb
Overview
Raised when an undefined field is requested
Instance Method Summary collapse
-
#initialize(name) ⇒ EmptyFieldError
constructor
A new instance of EmptyFieldError.
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 |