Class for DBWorkerException in the SmartFactory library.
| Methods | |
|---|---|
|
public
|
Constructor. |
Constructor.
| Name | Pass type | Value type | Default value | Description |
|---|---|---|---|---|
| $message | by value | string |
Error message. |
|
| $error_code | by value | string |
Error code. Since the error texts can be localized, the unique code of the error might be important fo using in comparison. |
|
| $error_element | by value | string | "" |
Error element. |
| $error_details | by value | array | [] |
The details might be useful if the message translations are provided on the client, not on the server, and the message should contain some details that may vary from case to case. In that case, the servers return the message id instead of final text and the details, the client uses the message id, gets the final translated text and substitutes the parameters through the details. |
| $technical_info | by value | string | "" |
Additional technical information. It can be used if it is a programming error and displayed only if the debug mode is active. |