A base interface for all pq\Exception classes.
<?php
try {
$connection = new pq\Connection;
} catch (pq\Exception $e) {
printf("%s (%d)\n", $e->getMessage(), $e->getCode());
}
?>
A method call was not expected.
class pq\Exception\BadMethodCallException extends BadMethodCallException
implements pq\Exception
Implementation or SQL syntax error.
class pq\Exception\DomainException extends DomainException
implements pq\Exception
An invalid argument was passed to a method.
class pq\Exception\InvalidArgumentException extends InvalidArgumentException
implements pq\Exception
A runtime exception occurred.
class pq\Exception\RuntimeException extends RuntimeException
implements pq\Exception