Improved http error handling

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

View file

@ -25,5 +25,7 @@ use Friendica\Network\HTTPException;
class NotFoundException extends HTTPException
{
protected $code = 404;
protected $code = 404;
var $httpdesc = 'Not Found';
var $explanation = 'The requested resource could not be found but may be available in the future.';
}