Method | Description | |
---|---|---|
toLegacy ( MongoDB\Driver\Exception\Exception $e, string $fallbackClass = 'MongoException' ) : MongoException | ||
toResultArray ( MongoDB\Driver\Exception\Exception $e ) : array | Converts an exception to |
public static toResultArray ( MongoDB\Driver\Exception\Exception $e ) : array | ||
$e | MongoDB\Driver\Exception\Exception | |
return | array |