Summary
Specifies the exception behaviour for
AjaxHandler<TApi>.
Enum values
| 2 | AjaxHandler<TApi> does not catch exceptions thrown by the API functions. If you do not catch the
exceptions either, they will bring down the server. |
| 1 |
Exceptions thrown by an AJAX method (or the wrapper) are returned to the client including their exception
messages as { "status": "error", "message": "{0} ({1})" } , where {0} is the exception message
and {1} the exception type. |
| 0 |
Exceptions thrown by an AJAX method (or the wrapper) are returned to the client as simply { "status":
"error" } . |