NotFoundException
Qubus Exception Class
This extends the default BaseException
class to allow converting exceptions to and from Error
objects.
Unfortunately, because an Error
object may contain multiple messages and error codes, only the first message for the first error code in the instance will be accessible through the exception's methods.
- Full name:
\Qubus\Exception\Http\Client\NotFoundException
- Parent class:
\Qubus\Exception\Exception
Methods
__construct
public __construct(string $message = 'The requested entity cannot be found, this may be returned because ' . 'the entity is not accessible using requested credentials because of a recent state ' . 'change or because the entity cannot be found at all.', int $code = 404, ?\Throwable $previous = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$message | string | |
$code | int | |
$previous | ?\Throwable |
Inherited methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$message | ?string | |
$code | int | |
$previous | ?\Throwable |
Throws:
__toString
Automatically generated on 2025-10-13