- if (empty($this->httpdesc)) {
- $classname = str_replace('Exception', '', str_replace('Friendica\Network\HTTPException\\', '', get_class($this)));
- $this->httpdesc = preg_replace("|([a-z])([A-Z])|",'$1 $2', $classname);
- }
+ public function getDescription()
+ {
+ return $this->httpdesc;
+ }
+
+ public function getExplanation()
+ {
+ return $this->explanation;