You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
531 B
23 lines
531 B
<?php
|
|
/**
|
|
* @license MIT
|
|
* Copyright 2022 Dustin Wilson, et al.
|
|
* See LICENSE and AUTHORS files for details
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
namespace MensBeam\Logger;
|
|
|
|
class IOException extends \RuntimeException {
|
|
protected ?string $path;
|
|
|
|
public function __construct(string $message, int $code = 0, \Throwable $previous = null, string $path = null) {
|
|
$this->path = $path;
|
|
|
|
parent::__construct($message, $code, $previous);
|
|
}
|
|
|
|
public function getPath(): ?string {
|
|
return $this->path;
|
|
}
|
|
}
|