Exception: OpenID::Server::EncodingError

Inherits:
Exception
  • Object
show all
Defined in:
lib/openid/server.rb

Overview

Could not encode this as a protocol message.

You should probably render it and show it to the user.

Direct Known Subclasses

AlreadySigned

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ EncodingError

Returns a new instance of EncodingError.



1503
1504
1505
1506
# File 'lib/openid/server.rb', line 1503

def initialize(response)
  super(response)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

The response that failed to encode.



1501
1502
1503
# File 'lib/openid/server.rb', line 1501

def response
  @response
end