ErrorHandling

role DBDish::Role::ErrorHandling

A role that handles the errors from connection handles and statement handles

Attributes

PrintError is rw Errors are printed to the standard error handle if this is True

RaiseError is rw = True Errors raise exceptions if this is True

Methods

errstr Returns the string representation of the last error

!set_err Private method that sets the error string, and prints and/or raises an exception, depending on the $.PrintError and $.RaiseError flags.

!reset_err Resets the error string to the empty string.

DBIish v0.6.4

Database connectivity for Raku

Authors

    License

    BSD-2-Clause

    Dependencies

    NativeHelpers::BlobNativeLibs

    Test Dependencies

    Provides

    • DBDish
    • DBDish::Connection
    • DBDish::ErrorHandling
    • DBDish::Oracle
    • DBDish::Oracle::Connection
    • DBDish::Oracle::Native
    • DBDish::Oracle::StatementHandle
    • DBDish::Pg
    • DBDish::Pg::Connection
    • DBDish::Pg::ErrorHandling
    • DBDish::Pg::Native
    • DBDish::Pg::StatementHandle
    • DBDish::SQLite
    • DBDish::SQLite::Connection
    • DBDish::SQLite::Native
    • DBDish::SQLite::StatementHandle
    • DBDish::StatementHandle
    • DBDish::TestMock
    • DBDish::TestMock::Connection
    • DBDish::TestMock::StatementHandle
    • DBDish::mysql
    • DBDish::mysql::Connection
    • DBDish::mysql::Native
    • DBDish::mysql::StatementHandle
    • DBIish
    • DBIish::Common
    • DBIish::CommonTesting

    The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.