[Jifty-commit] r6292 - Jifty-DBI/branches/tisql-joins-refactoring/lib/Jifty/DBI
Jifty commits
jifty-commit at lists.jifty.org
Tue Feb 3 17:36:06 EST 2009
Author: ruz
Date: Tue Feb 3 17:36:05 2009
New Revision: 6292
Modified:
Jifty-DBI/branches/tisql-joins-refactoring/lib/Jifty/DBI/Collection.pm
Log:
* describe error better and use croak
Modified: Jifty-DBI/branches/tisql-joins-refactoring/lib/Jifty/DBI/Collection.pm
==============================================================================
--- Jifty-DBI/branches/tisql-joins-refactoring/lib/Jifty/DBI/Collection.pm (original)
+++ Jifty-DBI/branches/tisql-joins-refactoring/lib/Jifty/DBI/Collection.pm Tue Feb 3 17:36:05 2009
@@ -1767,7 +1767,7 @@
sub new_alias {
my $self = shift;
- my $refers_to = shift || die "Missing parameter";
+ my $refers_to = shift || croak("First parameter of new_alias method must be table or record object");
my $type = shift || 'CROSS';
my $table;
More information about the Jifty-commit
mailing list