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.



1528
1529
1530
1531
# File 'lib/openid/server.rb', line 1528

def initialize(response)
  super
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

The response that failed to encode.



1526
1527
1528
# File 'lib/openid/server.rb', line 1526

def response
  @response
end