Protocol::Database::PostgreSQL::Error - represents a PostgreSQL error
This inherits from Ryu::Exception to provide a wrapper for exceptions and notices raised by the server.
The failing code.
Which PostgreSQL source file the error was raised from.
The line number in the PostgreSQL source file which raised this error.
The error message from the server.
The character offset in the input query.
Which PostgreSQL processing routine raised this.
Relative severity of the error, e.g. NOTICE or FATAL.
Look up the error information in tables extracted from PostgreSQL official documentation. Returns a string corresponding to the error code, or unknown if it's not in the tables (or from a newer version than this module supports, currently 11.2).
as_future, details, fail, from_future, new, throw
Tom Molesworth <TEAM@cpan.org>
Copyright Tom Molesworth 2010-2019. Licensed under the same terms as Perl itself.
To install Protocol::Database::PostgreSQL, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.