phapi/exception

View on GitHub
src/Phapi/Exception/Locked.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Phapi\Exception;

use Phapi\Exception;

/**
 * Class Locked
 *
 * Response code 423
 *
 * The requested resource is currently locked
 *
 * @category Phapi
 * @package  Phapi\Exception
 * @author   Peter Ahinko <peter@ahinko.se>
 * @license  MIT (http://opensource.org/licenses/MIT)
 * @link     https://github.com/phapi/exception
 */
class Locked extends Exception
{

    /**
     * Response status code
     *
     * @var int
     */
    protected $statusCode = 423;

    /**
     * Response status message
     *
     * @var string
     */
    protected $statusMessage = 'Locked';

    /**
     * Error message
     *
     * @var string
     */
    protected $description = 'The requested resource is currently locked.';
}