Exception: DatabricksSql::ExecutionError

Inherits:
Error
  • Object
show all
Defined in:
lib/databricks_sql/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, statement_id:, status:) ⇒ ExecutionError

Returns a new instance of ExecutionError.



47
48
49
50
51
# File 'lib/databricks_sql/errors.rb', line 47

def initialize(message, statement_id:, status:)
  @statement_id = statement_id
  @status = status
  super(message)
end

Instance Attribute Details

#statement_idObject (readonly)

Returns the value of attribute statement_id.



45
46
47
# File 'lib/databricks_sql/errors.rb', line 45

def statement_id
  @statement_id
end

#statusObject (readonly)

Returns the value of attribute status.



45
46
47
# File 'lib/databricks_sql/errors.rb', line 45

def status
  @status
end