class Contentful::Management::NotFound
404
Protected Instance Methods
Source
# File lib/contentful/management/error.rb, line 133 def default_error_message 'The requested resource or endpoint could not be found.' end
Source
# File lib/contentful/management/error.rb, line 137 def handle_details(details) return details if details.is_a?(String) message = "The requested #{details['type']} could not be found." resource_id = details.fetch('id', nil) message += " ID: #{resource_id}." if resource_id message end