MCPcopy Create free account
hub / github.com/error311/FileRise / fail

Method fail

src/FileRise/Storage/CurlReadStream.php:297–310  ·  view source on GitHub ↗
(string $message)

Source from the content-addressed store, hash-verified

295 }
296
297 private function fail(string $message): void
298 {
299 $this->failed = true;
300 $this->done = true;
301 $message = trim($message);
302 if ($message === '') {
303 $message = 'WebDAV read failed.';
304 }
305 $this->error = $message;
306
307 if (is_callable($this->errorHandler)) {
308 ($this->errorHandler)($message);
309 }
310 }
311}

Callers 5

handleWriteMethod · 0.95
pumpMethod · 0.95
consumeAvailableMethod · 0.95
openMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected