* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 */ namespace PrestaShop\Module\Mbo\Handler\ErrorHandler; use Exception; interface ErrorHandlerInterface { /** * @param Exception $error * @param array|null $data */ public function handle(Exception $error, ?array $data = null): void; }