属性 | 值 |
---|---|
命名空间 | fize\db\exception |
类名 | Exception |
父类 | Exception |
实现接口 | Throwable |
方法: |
---|
方法名 | 说明 |
---|---|
__construct() | Exception constructor. |
getSql() | 返回出错的相关SQL语句 |
Exception constructor.
public function __construct (
string $message = "",
int $code = 0,
string $sql = ""
)
参数: |
|
---|
返回出错的相关SQL语句
public function getSql () : string