Exception: OpenID::ServerError
- Inherits:
-
OpenIDError
- Object
- StandardError
- OpenIDError
- OpenID::ServerError
- Defined in:
- lib/openid/kvpost.rb
Overview
Exception that is raised when the server returns a 400 response code to a direct request.
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
-
#error_text ⇒ Object
readonly
Returns the value of attribute error_text.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(error_text, error_code, message) ⇒ ServerError
constructor
A new instance of ServerError.
Constructor Details
#initialize(error_text, error_code, message) ⇒ ServerError
Returns a new instance of ServerError.
10 11 12 13 14 15 |
# File 'lib/openid/kvpost.rb', line 10 def initialize(error_text, error_code, ) super(error_text) @error_text = error_text @error_code = error_code @message = end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
8 9 10 |
# File 'lib/openid/kvpost.rb', line 8 def error_code @error_code end |
#error_text ⇒ Object (readonly)
Returns the value of attribute error_text.
8 9 10 |
# File 'lib/openid/kvpost.rb', line 8 def error_text @error_text end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
8 9 10 |
# File 'lib/openid/kvpost.rb', line 8 def @message end |