<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
class PreconditionFailedException extends HTTPException
{
- protected $code = 412;
+ 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.';
}