Skip to content

A free, self-hostable news aggregator…

275 B
Raw Blame
<?php
declare(strict_types=1);

class FreshRSS_Zip_Exception extends Minz_Exception {

	public function __construct(private readonly int $zipErrorCode) {
		parent::__construct('ZIP error!', 2141);
	}

	public function zipErrorCode(): int {
		return $this->zipErrorCode;
	}
}