]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/HTTPException/PreconditionFailedException.php
spelling: one
[friendica.git] / src / Network / HTTPException / PreconditionFailedException.php
index 00c8fabb655b6910751fe7a71a8f759240b406b8..1a8f3f71f442fbfb81da713407115e69bc6e2aee 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -25,5 +25,7 @@ use Friendica\Network\HTTPException;
 
 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.';
 }