Exception: Tarantool::AuthenticationError
- Defined in:
- tarantool-client/lib/tarantool/client/errors.rb
Overview
Server rejected the credentials.
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = nil, code: nil) ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
Constructor Details
#initialize(message = nil, code: nil) ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
24 25 26 27 |
# File 'tarantool-client/lib/tarantool/client/errors.rb', line 24 def initialize( = nil, code: nil) super() @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
22 23 24 |
# File 'tarantool-client/lib/tarantool/client/errors.rb', line 22 def code @code end |