@ -321,13 +321,20 @@ Some exception types are automatically thrown by the framework:
You can also throw these type of exceptions in your code (although it's rarely needed).
## Send exception details to the client
## AbpExceptionHandlingOptions
You can send exceptions to the client via the `SendExceptionsDetailsToClients` property of the `AbpExceptionHandlingOptions` class:
`AbpExceptionHandlingOptions` is the main [options object](Options.md) to configure the exception handling system. You can configure it in the `ConfigureServices` method of your [module](Module-Development-Basics.md):
* `SendExceptionsDetailsToClients` (default: `false`): You can enable or disable sending exception details to the client.
* `EnableStackTrace` (default: `false`): You can enable or disable sending the `StackTrace` of exception to the client. When you set `EnableStackTrace` to true, it is set to `true` even if `SendExceptionsDetailsToClients` is `false` because it contains the exception details.