Exception: KRB5::ResultError
- Inherits:
-
Exception
- Object
- Exception
- KRB5::ResultError
- Defined in:
- lib/krb5.rb
Instance Attribute Summary (collapse)
-
- (Object) code
Returns the value of attribute code.
-
- (Object) method
Returns the value of attribute method.
Instance Method Summary (collapse)
-
- (ResultError) initialize(data, *args)
constructor
A new instance of ResultError.
Constructor Details
- (ResultError) initialize(data, *args)
Returns a new instance of ResultError
5 6 7 8 9 |
# File 'lib/krb5.rb', line 5 def initialize(data, *args) @code = data[:code] @method = data[:method] super(data[:message], *args) end |
Instance Attribute Details
- (Object) code
Returns the value of attribute code
4 5 6 |
# File 'lib/krb5.rb', line 4 def code @code end |
- (Object) method
Returns the value of attribute method
4 5 6 |
# File 'lib/krb5.rb', line 4 def method @method end |