====== AppException ======
**Layer:** ''Core'' · **Source:** ''lib/core/AppException.php:18'' (lines 18–60)
----
class AppException extends \Exception implements IAppThrowable
======= 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 | ''\Exception'' | parent class/interface |
| implements | [[scriptlog:lib:core:iappthrowable|''IAppThrowable'']] | contract |
======= Constants (0) =======
//None.//
======= Properties (0) =======
//None declared.//
======= Methods (2) =======
^ Visibility ^ Method ^ Summary ^ Line ^
| public | ''__construct()'' | CoreException constructor | 33 |
| public | ''__toString()'' | Convert Exception to String | 49 |
======== __construct() ========
public function __construct(?string $message = null, int $code = 0, ?\Exception $previous = null)
//lines 33–42 (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 49–59 (11)//
Convert Exception to String
//Takes no parameters.//
**Returns:** ''string'' — string
----
//This page is generated from source by 'tools/gendoc'. Edits will be overwritten.//