| 1 | <?php |
||
| 18 | class HydratorException extends MongoDBException |
||
| 19 | { |
||
| 20 | public function __construct($message = '', $code = 0, ?Throwable $previous = null) |
||
| 27 | |||
| 28 | public static function hydratorDirectoryNotWritable() : self |
||
| 32 | |||
| 33 | public static function hydratorDirectoryRequired() : self |
||
| 37 | |||
| 38 | public static function hydratorNamespaceRequired() : self |
||
| 42 | } |
||
| 43 |
If you suppress an error, we recommend checking for the error condition explicitly: