EscolaLMS/Cart

View on GitHub
src/Exceptions/ProductNotFoundException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace EscolaLms\Cart\Exceptions;

use Symfony\Component\HttpKernel\Exception\UnprocessableEntityHttpException;
use Throwable;

class ProductNotFoundException extends UnprocessableEntityHttpException
{
    public function __construct($message = "Product Not Found", $code = 422, ?Throwable $previous = null)
    {
        parent::__construct($message, $previous, $code);
    }
}