Page MenuHomePhabricator

class ConduitException
Phabricator Technical Documentation (Conduit)

This class is not documented.

Methods

final public function setErrorDescription($error_description)

Set a detailed error description. If omitted, the generic error description will be used instead. This is useful to provide specific information about an exception (e.g., which values were wrong in an invalid request).

Parameters
string$error_descriptionDetailed error description.
Return
this

final public function getErrorDescription()

Get a detailed error description, if available.

Return
string|nullError description, if one is available.