Ensure the stack properly deals and warns on Null-Pattern exception objects
authorKonstantin A. Pustovalov <konstantin.pustovalov@gmail.com>
Mon, 21 Jan 2013 20:40:58 +0000 (00:40 +0400)
committerPeter Rabbitson <ribasushi@cpan.org>
Thu, 13 Aug 2015 12:16:08 +0000 (14:16 +0200)
commit84e4e006430911fb5aa1d73d8a760bf4455a6378
treea2daf1316810ce253390fcabcd5c7c341cd493b7
parent4f29a592f18106f2b06660a1cb82911b0ebc2011
Ensure the stack properly deals and warns on Null-Pattern exception objects

Reuse the existing is_exception() utility to catch any and all instances of
objects stringifying to "" before passing them onwards
Changes
lib/DBIx/Class/_Util.pm
t/33exception_wrap.t
t/34exception_action.t
t/lib/DBICTest/AntiPattern/NullObject.pm [new file with mode: 0644]
t/lib/DBICTest/AntiPattern/TrueZeroLen.pm [new file with mode: 0644]