Class: TeradataCli::SQLError
- Defined in:
- lib/teradata-cli/connection.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#info ⇒ Object
readonly
Returns the value of attribute info.
Instance Method Summary collapse
-
#initialize(code, info, message) ⇒ SQLError
constructor
A new instance of SQLError.
Constructor Details
#initialize(code, info, message) ⇒ SQLError
Returns a new instance of SQLError.
25 26 27 28 29 |
# File 'lib/teradata-cli/connection.rb', line 25 def initialize(code, info, ) super @code = code @info = info end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
31 32 33 |
# File 'lib/teradata-cli/connection.rb', line 31 def code @code end |
#info ⇒ Object (readonly)
Returns the value of attribute info.
32 33 34 |
# File 'lib/teradata-cli/connection.rb', line 32 def info @info end |