Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
PHP
1234567891011121314151617181920212223242526272829303132333435<?php
/** * These exceptions are raised when a client submits a malformed request. * * These errors are caught by Aphront itself and occur too early or too * fundamentally in request handling to allow the request to route to a * controller or survive to normal processing. * * These exceptions can be made "unlogged", which will prevent them from being * logged. The intent is that errors which are purely the result of client * failure and of no interest to the server can be raised silently to avoid * cluttering the logs with client errors that are not actionable. */final class AphrontMalformedRequestException extends AphrontException {
private $title; private $isUnlogged;
public function __construct($title, $message, $unlogged = false) { $this->title = $title; $this->isUnlogged = $unlogged; parent::__construct($message); }
public function getTitle() { return $this->title; }
public function getIsUnlogged() { return $this->isUnlogged; }
}