function __construct($message, $offset = null) { parent::__construct($message); $this->offset = $offset; }
function __construct($error_code) { $this->error_code = $error_code; parent::__construct("Process failed with status: {$error_code}"); }