Exception: TinyTds::Error
- Inherits:
-
StandardError
- Object
- StandardError
- TinyTds::Error
- Defined in:
- lib/tiny_tds/error.rb
Instance Attribute Summary collapse
-
#db_error_number ⇒ Object
Returns the value of attribute db_error_number.
-
#os_error_number ⇒ Object
Returns the value of attribute os_error_number.
-
#severity ⇒ Object
Returns the value of attribute severity.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(message) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message) ⇒ Error
Returns a new instance of Error.
6 7 8 9 10 11 |
# File 'lib/tiny_tds/error.rb', line 6 def initialize() super @severity = nil @db_error_number = nil @os_error_number = nil end |
Instance Attribute Details
#db_error_number ⇒ Object
Returns the value of attribute db_error_number.
4 5 6 |
# File 'lib/tiny_tds/error.rb', line 4 def db_error_number @db_error_number end |
#os_error_number ⇒ Object
Returns the value of attribute os_error_number.
4 5 6 |
# File 'lib/tiny_tds/error.rb', line 4 def os_error_number @os_error_number end |
#severity ⇒ Object
Returns the value of attribute severity.
4 5 6 |
# File 'lib/tiny_tds/error.rb', line 4 def severity @severity end |
#source ⇒ Object
Returns the value of attribute source.
4 5 6 |
# File 'lib/tiny_tds/error.rb', line 4 def source @source end |