PHP Classes

File: src/Exception/MustBeEmpty.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   EasyDB   src/Exception/MustBeEmpty.php   Download  
File: src/Exception/MustBeEmpty.php
Role: Class source
Content type: text/plain
Description: Class source
Class: EasyDB
Simple Database Abstraction Layer around PDO
Author: By
Last change:
Date: 1 year ago
Size: 638 bytes
 

Contents

Class file image Download
<?php
declare(strict_types=1);
namespace
ParagonIE\EasyDB\Exception;

use
ParagonIE\Corner\CornerInterface;
use
ParagonIE\Corner\CornerTrait;

class
MustBeEmpty extends EasyDBException
{
    use
CornerTrait;

    public function
__construct(string $message = "", int $code = 0, \Throwable $previous = null)
    {
       
parent::__construct($message, $code, $previous);
       
$this->supportLink = 'https://github.com/paragonie/easydb';
       
$this->helpfulMessage = "When calling the andWith() and orWith() methods on the EasyStatement class,
if the first argument is an EasyStatement object, it MUST be the only parameter."
;
    }
}