<?php

namespace App\Exceptions;

/**
 * Service exception thrown by the services. It implements RendersErrorsExtensions to properly render the graphQL error
 *
 * Class ServiceException
 * @package App\Exceptions
 */
class NotFoundException extends ServiceException
{

    /**
     * Returns the status code.
     *
     * @return int An HTTP response status code
     */
    public function getStatusCode()
    {
        return 404;
    }
}
