class Jennifer::BadQuery

Overview

Wraps driver query native exception with some extra information.

Defined in:

jennifer/exceptions.cr

Constructors

Class Method Summary

Instance methods inherited from class Jennifer::BaseException

message=(message) message=

Constructor methods inherited from class Jennifer::BaseException

new(base_exception : Exception, extra_message : String? = nil)
new(message)
new

Class methods inherited from class Jennifer::BaseException

assert_column_count(requested, actual) assert_column_count

Constructor Detail

def self.new(original_message, query, args) #

[View source]

Class Method Detail

def self.format_query(query, args : Array) #

[View source]
def self.format_query(query, arg = nil) #

[View source]
def self.prepend_information(error : Exception, query, args) #

[View source]