Exception: ChDB::Exception
- Inherits:
-
StandardError
- Object
- StandardError
- ChDB::Exception
- Defined in:
- lib/chdb/errors.rb,
ext/chdb/exception.c
Overview
Represents a base exception class for the ChDB module. This class inherits from StandardError and provides a common structure for other ChDB-specific exceptions.
Direct Known Subclasses
DirectoryNotFoundException, InternalException, InvalidArgumentException, SQLException
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
A convenience for accessing the error code for this exception.
-
#sql ⇒ Object
readonly
If the error is associated with a SQL query, this is the query.
Instance Attribute Details
#code ⇒ Object (readonly)
A convenience for accessing the error code for this exception.
9 10 11 |
# File 'lib/chdb/errors.rb', line 9 def code @code end |
#sql ⇒ Object (readonly)
If the error is associated with a SQL query, this is the query
12 13 14 |
# File 'lib/chdb/errors.rb', line 12 def sql @sql end |