<?php
 namespace Modules\Invoices\SupplierInvoices\ImportStatements\Model; class Exception extends \Exception { protected $messageCode=''; public function __construct($message = null, $code = 0, ?\Exception $previous = null) { $this->messageCode=$code; parent::__construct($message, 0, $previous); } public function getMessageCode() { return $this->messageCode; } }