class Doorkeeper::OAuth::ErrorResponse

def initialize(attributes = {})

def initialize(attributes = {})
  @error = OAuth::Error.new(*attributes.values_at(:name, :state))
  @exception_class = attributes[:exception_class]
  @redirect_uri = attributes[:redirect_uri]
  @response_on_fragment = attributes[:response_on_fragment]
end