Like return_error but intended for language bindings.
This method will free this, you cannot use it afterwards.
| this | |
| domain | |
| code |
The error code. |
| format |
printf-style format. |
| var_args |
va_list of parameters for |