mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 21:41:36 +08:00
完善框架的异常处理
This commit is contained in:
@@ -18,6 +18,15 @@ use think\exception\DbException;
|
||||
*/
|
||||
class DbBindParamException extends DbException
|
||||
{
|
||||
|
||||
/**
|
||||
* DbBindParamException constructor.
|
||||
* @param string $message
|
||||
* @param array $config
|
||||
* @param string $sql
|
||||
* @param array $bind
|
||||
* @param int $code
|
||||
*/
|
||||
public function __construct($message, $config, $sql, $bind, $code = 10502)
|
||||
{
|
||||
$this->setData('Bind Param', $bind);
|
||||
|
||||
Reference in New Issue
Block a user