public function SeekException::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/guzzle/src/Exception/SeekException.php \GuzzleHttp\Exception\SeekException::__construct()
File
- vendor/
guzzlehttp/ guzzle/ src/ Exception/ SeekException.php, line 13
Class
- SeekException
- Exception thrown when a seek fails on a stream.
Namespace
GuzzleHttp\ExceptionCode
public function __construct(StreamInterface $stream, $pos = 0, $msg = '') {
$this->stream = $stream;
$msg = $msg ?: 'Could not seek the stream to position ' . $pos;
parent::__construct($msg);
}