Errors
Classes and method signatures for Asyncara 0.10.0. Read the usage guide for examples, error handling and resource cleanup. Inherited methods are listed under their declaring class.
Asyncara\Exception\OperationException
Extends RuntimeException.
Standard inherited exception behavior.
Asyncara\Exception\CancelledException
Extends RuntimeException.
Standard inherited exception behavior.
Asyncara\Exception\TimeoutException
Extends Asyncara\Exception\CancelledException.
Standard inherited exception behavior.
Asyncara\Exception\WorkerException
Extends RuntimeException.
Standard inherited exception behavior.
Asyncara\Exception\FilesystemException
Extends Asyncara\Exception\OperationException.
readonly int $errno;
readonly bool $committed;
__construct(string $message, int $errno, bool $committed = false)
isMissing(): bool
Asyncara\Exception\QueueClosedException
Extends RuntimeException.
Standard inherited exception behavior.
Asyncara\Exception\CapacityException
Extends OverflowException.
Standard inherited exception behavior.
Asyncara\Exception\DeadlockException
Extends RuntimeException.
Standard inherited exception behavior.
Asyncara\Redis\ServerException
Extends RuntimeException.
Standard inherited exception behavior.
Asyncara\WebSocket\ProtocolException
Extends Asyncara\Exception\OperationException.
readonly int $closeCode;
__construct(string $message, int $closeCode = 1002)
Asyncara\Server\RequestBodyException
Extends RuntimeException.
readonly int $status;
__construct(int $status)
Asyncara\HTTP\Psr\NetworkException
Extends RuntimeException.
__construct(Psr\Http\Message\RequestInterface $request, Throwable $previous)
getRequest(): Psr\Http\Message\RequestInterface
Asyncara\HTTP\Psr\RequestException
Extends RuntimeException.
__construct(Psr\Http\Message\RequestInterface $request, Throwable $previous)
getRequest(): Psr\Http\Message\RequestInterface