friendica-github/src/Network/HTTPException/PreconditionFailedException.php

18 lines
520 B
PHP
Raw Normal View History

<?php
2024-08-24 15:27:00 +02:00
// Copyright (C) 2010-2024, the Friendica project
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
//
// SPDX-License-Identifier: AGPL-3.0-or-later
namespace Friendica\Network\HTTPException;
use Friendica\Network\HTTPException;
class PreconditionFailedException extends HTTPException
{
2021-10-31 04:54:24 +00:00
protected $code = 412;
protected $httpdesc = 'Precondition Failed';
protected $explanation = 'The server does not meet one of the preconditions that the requester put on the request header fields.';
}