module CQL::ErrorHandler

Overview

Error handling module that follows CQL's error handling principles

Defined in:

error_handler.cr

Class Method Summary

Macro Summary

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


[View source]

Macro Detail

macro handle_error(method_name) #

Handle errors according to method convention Methods with ! should raise, methods without ! should return nil


[View source]