Exception: ActiveRecord::ConnectionAdapters::ClickHouse::HTTPConnection::ExecutionError
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveRecord::ConnectionAdapters::ClickHouse::HTTPConnection::ExecutionError
- Defined in:
- lib/active_record/connection_adapters/clickhouse/http_connection.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, code: nil) ⇒ ExecutionError
constructor
A new instance of ExecutionError.
Constructor Details
#initialize(message, code: nil) ⇒ ExecutionError
Returns a new instance of ExecutionError.
70 71 72 73 |
# File 'lib/active_record/connection_adapters/clickhouse/http_connection.rb', line 70 def initialize(, code: nil) super() @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
68 69 70 |
# File 'lib/active_record/connection_adapters/clickhouse/http_connection.rb', line 68 def code @code end |