[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @concrete-extensible 5 */ 6 class ConduitException extends Exception { 7 8 private $errorDescription; 9 10 /** 11 * Set a detailed error description. If omitted, the generic error description 12 * will be used instead. This is useful to provide specific information about 13 * an exception (e.g., which values were wrong in an invalid request). 14 * 15 * @param string Detailed error description. 16 * @return this 17 */ 18 final public function setErrorDescription($error_description) { 19 $this->errorDescription = $error_description; 20 return $this; 21 } 22 23 /** 24 * Get a detailed error description, if available. 25 * 26 * @return string|null Error description, if one is available. 27 */ 28 final public function getErrorDescription() { 29 return $this->errorDescription; 30 } 31 32 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |