php8.5
Home/ Manual/ driver / exception/ The MongoDB\Driver\Exception\Exception interface

The MongoDB\Driver\Exception\Exception interface

Common interface for all extension exceptions. This interface is also used by the library, and may be used to identify any exceptions originating from the MongoDB PHP driver (i.e. extension and library).

Intro

Common interface for all extension exceptions. This interface is also used by the library, and may be used to identify any exceptions originating from the MongoDB PHP driver (i.e. extension and library).

Class synopsis

class MongoDB\Driver\Exception\Exception { }

Source: reference/mongodb/mongodb/driver/exception/exception.xml · from the official PHP manual (php/doc-en)