<?php

namespace app\Exceptions;

use Flugg\Responder\Exceptions\Http\HttpException;

/**
 * An exception thrown whan a relation is not found.
 *
 * @author  Alexander Tømmerås <flugged@gmail.com>
 * @license The MIT License
 */
class MethodNotAllowedHttpAPIException extends HttpException
{
    /**
     * An HTTP status code.
     *
     * @var int
     */
    protected $status = 405;

    /**
     * An error code.
     *
     * @var string|null
     */
    protected $errorCode = 'MethodNotAllowedHttpException';
}
