From: Justin Hunter Date: Thu, 21 Oct 2010 21:58:24 +0000 (-0700) Subject: add error attr for back-compat X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2c64974b8705c149608a8e2d2b053fb337d7916c;p=dbsrgits%2FSQL-Translator-2.0-ish.git add error attr for back-compat --- diff --git a/lib/SQL/Translator.pm b/lib/SQL/Translator.pm index 31fcffc..e3a2245 100644 --- a/lib/SQL/Translator.pm +++ b/lib/SQL/Translator.pm @@ -83,6 +83,11 @@ class SQL::Translator { default => sub { { MySQL => 'SQL::MySQL', SQLite => 'SQL::SQLite', PostgreSQL => 'SQL::PostgreSQL', XML => 'XML', YAML => 'YAML' } } ); + has 'error' => ( + is => 'rw', + isa => Str, + ); + method _build__parser { my $class = 'SQL::Translator::Parser';