aboutsummaryrefslogtreecommitdiffhomepage
path: root/api/Posts/Exceptions/PostNotFoundException.php
blob: 2f9c55d9332d28f3813afc4ae9efbc4420a68ce5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

namespace Api\Posts\Exceptions;

use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;

class PostNotFoundException extends NotFoundHttpException
{
    public function __construct()
    {
        parent::__construct('The post was not found.');
    }
}