final public function setErrorDescription($error_description)
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_description | Detailed error description. |
Return
this |
final public function getErrorDescription()
final public function getErrorDescription()
Get a detailed error description, if available.
Return
string|null | Error description, if one is available. |