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.
23 24 25 26 27 |
# File 'lib/teradata-cli/connection.rb', line 23 def initialize(code, info, ) super @code = code @info = info end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
29 30 31 |
# File 'lib/teradata-cli/connection.rb', line 29 def code @code end |
#info ⇒ Object (readonly)
Returns the value of attribute info.
30 31 32 |
# File 'lib/teradata-cli/connection.rb', line 30 def info @info end |