class Europeana::Errors::ResponseError

Raised if the API response is not valid JSON.

Public Class Methods

new(msg = nil) click to toggle source
Calls superclass method
# File lib/europeana/errors.rb, line 44
      def initialize(msg = nil)
        msg ||= <<-MSG
Response error.

Unable to parse the response from the Europeana API.
        MSG
        super(msg)
       end