# Árvore de Classes de Exceção do MongoDB

A hierarquia de classes para exceções do MongoDB é modelada a partir das Exceções SPL. As classes base estendem sua contraparte SPL e todas as classes de exceção na extensão implementam a interface MongoDB\Driver\Exception\Exception.

- MongoDB\Driver\Exception\LogicException (extends LogicException)
- MongoDB\Driver\Exception\InvalidArgumentException (extends InvalidArgumentException)
- MongoDB\Driver\Exception\UnexpectedValueException (extends UnexpectedValueException)
- MongoDB\Driver\Exception\RuntimeException (extends RuntimeException)
  - MongoDB\Driver\Exception\ConnectionException
    - MongoDB\Driver\Exception\AuthenticationException
    - MongoDB\Driver\Exception\ConnectionTimeoutException
    - MongoDB\Driver\Exception\SSLConnectionException (descontinuada)
  - MongoDB\Driver\Exception\EncryptionException
  - MongoDB\Driver\Exception\ServerException
    - MongoDB\Driver\Exception\BulkWriteCommandException
    - MongoDB\Driver\Exception\CommandException
    - MongoDB\Driver\Exception\ExecutionTimeoutException
    - MongoDB\Driver\Exception\WriteException (descontinuada)
      - MongoDB\Driver\Exception\BulkWriteException

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open