Exception constructor
public \Bitrix\Main\DB\Exception::__construct( string $message = "", string $databaseMessage = "", \Exception $previous = null );
This non-static method is called when creating class instance. This method allows modifying this class when creating an object. Error code is 400.
Parameters
Parameter | Description | Version |
---|---|---|
$message | Exception message | |
$databaseMessage | Database message. | |
$previous | Previous exception. It is used to build exception chain. |
Examples
© «Bitrix24», 2001-2025
Up