Lines
100.00%
8 / 8
Methods
100.00%
1 / 1
Classes
100.00%
1 / 1
| Name | Lines | Methods | CRAP | ||||
|---|---|---|---|---|---|---|---|
| [phpMyFAQ\Core\Exception] __toString | 100.00% | 8 / 8 | 100.00% | 1 / 1 | 1 | ||
| 24 | class AuthException extends Exception {} |
Inherited from phpMyFAQ\Core\Exception
| 32 | public function __toString(): string | |
| 33 | { | |
| 34 | return sprintf( | |
| 35 | "Exception %s with message %s in %s: %s\nStack trace:\n%s", | |
| 36 | self::class, | |
| 37 | $this->getMessage(), | |
| 38 | $this->getFile(), | |
| 39 | $this->getLine(), | |
| 40 | $this->getTraceAsString(), | |
| 41 | ); | |
| 42 | } |