2018-02-09 03:49:49 +00:00
|
|
|
<?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
|
2018-02-09 03:49:49 +00:00
|
|
|
|
|
|
|
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.';
|
2018-02-09 03:49:49 +00:00
|
|
|
}
|