feat(demo): add story 1 — Sorano: Rock and Time
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Grav\Plugin\Api\Exceptions;
|
||||
|
||||
class NotFoundException extends ApiException
|
||||
{
|
||||
public function __construct(string $detail = 'The requested resource was not found.', ?\Throwable $previous = null)
|
||||
{
|
||||
parent::__construct(404, 'Not Found', $detail, [], $previous);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user