php-yaoi/php-yaoi

View on GitHub
src/Database/Exception.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Yaoi\Database;

class Exception extends \Exception
{
    const DEFAULT_NOT_SET = 1;
    const CONNECTION_ERROR = 2;
    const WRONG_SERVER_TYPE = 3;
    const NO_DRIVER = 4;
    const QUERY_ERROR = 5;
    const PLACEHOLDER_NOT_FOUND = 6;
    const PLACEHOLDER_REDUNDANT = 7;
    const DISCONNECT_ERROR = 8;
    const REWIND_NOT_SUPPORTED = 9;
    const INVALID_ARGUMENT = 10;
    const INVALID_SCHEMA = 11;
    const DATABASE_REQUIRED = 12;
    const EMPTY_STATEMENT = 13;

    public $query;
}