| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function __construct(\stdClass $jsonContent) |
||
| 35 | { |
||
| 36 | $this->message = strval($jsonContent->message); |
||
| 37 | $this->sqlState = $jsonContent->sqlState ?? ''; |
||
| 38 | $this->errorCode = intval($jsonContent->errorCode); |
||
| 39 | $this->errorName = strval($jsonContent->errorName); |
||
| 40 | $this->errorType = strval($jsonContent->errorType); |
||
| 41 | $this->failureInfo = $jsonContent->failureInfo; |
||
| 42 | } |
||
| 43 | |||
| 92 |