Layer: Core · Source: lib/core/DbException.php:18 (lines 18–48)
class DbException extends \PDOException implements IDbThrowable
DbException class extends Abstract Class CoreException
| Tag | Value |
|---|---|
@category | Core Class |
@author | M.Noermoehammad |
@license | MIT |
@version | 1.0 |
@since | Since Release 1.0 |
| Relation | Type | Meaning |
|---|---|---|
| extends | \PDOException | parent class/interface |
| implements | ''IDbThrowable'' | contract |
None.
| Visibility | Type | Name | Default | Line |
|---|---|---|---|---|
protected | (untyped) | $message | 'Unknown Exception' | 20 |
protected | (untyped) | $previous | null | 23 |
| Visibility | Method | Summary | Line |
|---|---|---|---|
| public | __construct() | (undocumented) | 25 |
| public | __toString() | (undocumented) | 44 |
public function __construct(string $message = "", int $code = 0, ?\Exception $previous = null)
lines 25–42 (18)
| Parameter | Type | Default | Description |
|---|---|---|---|
$message | string | “” | none |
$code | int | 0 | none |
$previous | ?\Exception | null | none |
public function __toString()
lines 44–47 (4)
Takes no parameters.
Returns: (none declared)
This page is generated from source by 'tools/gendoc'. Edits will be overwritten.