Re: [RDBO] Hardcoded Carp::croak vs error_mode

2008-02-21 Thread John Ingram
On Thu, Feb 21, 2008 at 8:36 AM, John Siracusa <[EMAIL PROTECTED]> wrote: > Just set the "overflow" property of the column to "warn" or "truncate" > to override teh default "fatal" mode: > > > http://search.cpan.org/dist/Rose-DB-Object/lib/Rose/DB/Object/MakeMethods/Generic.pm#overflow Well t

Re: [RDBO] Hardcoded Carp::croak vs error_mode

2008-02-21 Thread John Ingram
On 2/20/08, John Siracusa <[EMAIL PROTECTED]> wrote: > Exceptions are thrown unconditionally in situations that are beyond > the bounds of "graceful" error handling. For example: > > Carp::croak "Error in generated code for method $name - [EMAIL PROTECTED]" > > When something like that happ

[RDBO] Hardcoded Carp::croak vs error_mode

2008-02-20 Thread John Ingram
In the following packages: Rose::DB::Object::MakeMethods Rose::DB::Object::MakeMethods::Generic Rose::DB::Object::MakeMethods::DateTime ...I was surprised to find that $self->meta->handle_error is not being used and there's a hardcoded Carp::croak instead. Is that intentional? Am I missing some