# File lib/openid/extensions/ax.rb, line 490 def initialize(succeeded = true, error_message = nil) super() if succeeded and error_message raise Error, "Error message included in a success response" end if succeeded @mode = SUCCESS_MODE else @mode = FAILURE_MODE end @error_message = error_message end