You are here

public function SeekException::__construct in Lockr 7.3

File

vendor/guzzlehttp/guzzle/src/Exception/SeekException.php, line 13

Class

SeekException
Exception thrown when a seek fails on a stream.

Namespace

GuzzleHttp\Exception

Code

public function __construct(StreamInterface $stream, $pos = 0, $msg = '') {
  $this->stream = $stream;
  $msg = $msg ?: 'Could not seek the stream to position ' . $pos;
  parent::__construct($msg);
}