DBIx::Class::ParseError::Parser - Parser base role
The core logic of parsing DB errors for different DBMS, which specific classes could do its interface and extend functionality where appropriate.
It's the only method required to be implemented by the consumer of the parser role, returning a hashref with error types as keys and regex as values.
Provides default implementation for parsing type out from error strings.
Provides default implementation for parsing general info (table name, operation, column info, etc) out from error strings.
Main handler, base logic, invokes the other two above and returns a DBIx::Class::ParseError::Error object.
wreis - Wallace reis <wreis@cpan.org>
Copyright (c) the "AUTHOR" and "CONTRIBUTORS" as listed above.
This library is free software and may be distributed under the same terms as perl itself.
To install DBIx::Class::ParseError, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class::ParseError
CPAN shell
perl -MCPAN -e shell install DBIx::Class::ParseError
For more information on module installation, please visit the detailed CPAN module installation guide.