module
CQL::ErrorHandler
Overview
Error handling module that follows CQL's error handling principles
Defined in:
error_handler.crClass Method Summary
-
.handle_dialect_error(error : CQL::DialectError)
Handle dialect-specific errors This can be used to catch and handle dialect-specific errors like SQLiteUnsupportedFeatureError
Macro Summary
-
handle_error(method_name)
Handle errors according to method convention Methods with ! should raise, methods without ! should return nil
Class Method Detail
def self.handle_dialect_error(error : CQL::DialectError)
#
Handle dialect-specific errors This can be used to catch and handle dialect-specific errors like SQLiteUnsupportedFeatureError
Macro Detail
macro handle_error(method_name)
#
Handle errors according to method convention Methods with ! should raise, methods without ! should return nil