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
- Clear::Migration
- Clear::Migration::Manager
- Clear::Migration::Operation
- Clear::Model
- Clear::Model::Column(T, C)
Defined in:
clear/error_messages.crInstance Method Summary
- #build_error_message(message : String, ways_to_resolve : Tuple | Array = Tuple.new, manual_pages : Tuple | Array = Tuple.new)
- #converter_error(from, to)
- #format_width(x, w = 80)
- #illegal_setter_access_to_undefined_column(name)
- #lack_of_primary_key(model_name)
- #migration_already_down(number)
- #migration_already_up(number)
- #migration_irreversible(name = nil, operation = nil)
- #migration_not_found(number)
- #migration_not_unique(numbers)
- #no_migration_yet(version)
- #null_column_mapping_error(name, type)
- #order_by_error_invalid_order(current_order)
- #polymorphic_nil(through)
- #polymorphic_unknown_class(class_name)
- #query_building_error(message)
- #uid_not_found(class_name)
- #uninitialized_db_connection(connection)
Instance Method Detail
def build_error_message(message : String, ways_to_resolve : Tuple | Array = Tuple.new, manual_pages : Tuple | Array = Tuple.new)
#