scriptlog:lib:core:coreexception
This is an old revision of the document!
Table of Contents
CoreException
Layer: Core · Source: lib/core/CoreException.php:17 (lines 17–59)
class CoreException extends \Exception implements ICoreThrowable
CoreException Class extends Exception implements ICoreThrowable
Docblock Metadata
^ Tag ^ Value ^ | ''@category'' | Core Class | | ''@version'' | 1.0 | | ''@since'' | Since Release 1.0 | | ''@see'' | https://www.php.net/manual/en/language.exceptions.extending.php |
Inheritance
^ Relation ^ Type ^ Meaning ^ | extends | ''\Exception'' | parent class/interface | | implements | [[scriptlog:lib:core:icorethrowable|''ICoreThrowable'']] | contract |
Constants (0)
None.
Properties (0)
None declared.
Methods (2)
^ Visibility ^ Method ^ Summary ^ Line ^ | public | ''__construct()'' | CoreException constructor | 32 | | public | ''__toString()'' | Convert Exception to String | 48 |
__construct()
public function __construct(?string $message = null, int $code = 0, ?\Exception $previous = null)
lines 32–41 (10)
CoreException constructor
^ Parameter ^ Type ^ Default ^ Description ^ | ''$message'' | ''?string'' | ''null'' | //none// | | ''$code'' | ''int'' | ''0'' | //none// | | ''$previous'' | ''?\Exception'' | ''null'' | //none// |
__toString()
public function __toString(): string
lines 48–58 (11)
Convert Exception to String
Takes no parameters.
Returns: string — string
This page is generated from source by 'tools/gendoc'. Edits will be overwritten.
scriptlog/lib/core/coreexception.1790413761.txt.gz · Last modified: by admin
