1
0
mirror of https://github.com/danog/file.git synced 2024-11-30 04:19:39 +01:00
file/lib/FilesystemException.php
Niklas Keller a13bb6f721 Use ClosedException as mandated by the ByteStream interfaces
This commit also changes end() to wait for the close() to finish before returning.
2017-06-21 11:01:19 +02:00

12 lines
258 B
PHP

<?php
namespace Amp\File;
use Amp\ByteStream\StreamException;
class FilesystemException extends StreamException {
public function __construct(string $message, \Throwable $previous = null) {
parent::__construct($message, 0, $previous);
}
}