module Clear::ErrorMessages

Overview

This module list most of the runtime errors happening in Clear. It's an attempt to make Clear user friendly by enabling advanced resolution of problems when they raise.

Extended Modules

Direct including types

Defined in:

clear/error_messages.cr

Instance Method Summary

Instance Method Detail

def build_error_message(message : String, ways_to_resolve : Tuple | Array = Tuple.new, manual_pages : Tuple | Array = Tuple.new) #

[View source]
def converter_error(from, to) #

[View source]
def format_width(x, w = 80) #

[View source]
def illegal_setter_access_to_undefined_column(name) #

[View source]
def lack_of_primary_key(model_name) #

[View source]
def migration_already_down(number) #

[View source]
def migration_already_up(number) #

[View source]
def migration_irreversible(name = nil, operation = nil) #

[View source]
def migration_not_found(number) #

[View source]
def migration_not_unique(numbers) #

[View source]
def no_migration_yet(version) #

[View source]
def null_column_mapping_error(name, type) #

[View source]
def order_by_error_invalid_order(current_order) #

[View source]
def polymorphic_nil(through) #

[View source]
def polymorphic_unknown_class(class_name) #

[View source]
def query_building_error(message) #

[View source]
def uid_not_found(class_name) #

[View source]
def uninitialized_db_connection(connection) #

[View source]