Improved http error handling

This commit is contained in:
Michael
2021-10-29 23:21:07 +00:00
parent b2165cdf22
commit 4236a9a105
55 changed files with 282 additions and 135 deletions

View File

@@ -25,5 +25,7 @@ use Friendica\Network\HTTPException;
class ConflictException extends HTTPException
{
protected $code = 409;
protected $code = 409;
var $httpdesc = 'Conflict ';
var $explanation = 'Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.';
}