Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:dbexception

DbException

Layer: Core · Source: lib/core/DbException.php:18 (lines 18–48)


class DbException extends \PDOException implements IDbThrowable

DbException class extends Abstract Class CoreException

Docblock Metadata

Tag Value
@category Core Class
@author M.Noermoehammad
@license MIT
@version 1.0
@since Since Release 1.0

Inheritance

Relation Type Meaning
extends \PDOException parent class/interface
implements ''IDbThrowable'' contract

Constants (0)

None.

Properties (2)

Visibility Type Name Default Line
protected (untyped) $message 'Unknown Exception' 20
protected (untyped) $previous null 23

Methods (2)

Visibility Method Summary Line
public __construct() (undocumented) 25
public __toString() (undocumented) 44

__construct()

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

__toString()

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.

scriptlog/lib/core/dbexception.txt · Last modified: by admin