From 032c56f679b8aadf486b53c216cd70e6c6b90836 Mon Sep 17 00:00:00 2001 From: Fahri Gedik <53567152+fahrigedik@users.noreply.github.com> Date: Thu, 10 Oct 2024 13:00:33 +0300 Subject: [PATCH] Update exception-handling.md --- docs/en/framework/fundamentals/exception-handling.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/framework/fundamentals/exception-handling.md b/docs/en/framework/fundamentals/exception-handling.md index 44692e8e68..a85ae58e24 100644 --- a/docs/en/framework/fundamentals/exception-handling.md +++ b/docs/en/framework/fundamentals/exception-handling.md @@ -31,7 +31,7 @@ Error Message is an instance of the `RemoteServiceErrorResponse` class. The simp There are **optional fields** those can be filled based upon the exception that has occurred. -##### Error Code +#### Error Code Error **code** is an optional and unique string value for the exception. Thrown `Exception` should implement the `IHasErrorCode` interface to fill this field. Example JSON value: @@ -46,7 +46,7 @@ Error **code** is an optional and unique string value for the exception. Thrown Error code can also be used to localize the exception and customize the HTTP status code (see the related sections below). -##### Error Details +#### Error Details Error **details** in an optional field of the JSON error message. Thrown `Exception` should implement the `IHasErrorDetails` interface to fill this field. Example JSON value: @@ -60,7 +60,7 @@ Error **details** in an optional field of the JSON error message. Thrown `Except } ``` -##### Validation Errors +#### Validation Errors **validationErrors** is a standard field that is filled if the thrown exception implements the `IHasValidationErrors` interface. @@ -340,4 +340,4 @@ Here, a list of the options you can configure: ## See Also -* [Video tutorial](https://abp.io/video-courses/essentials/exception-handling) \ No newline at end of file +* [Video tutorial](https://abp.io/video-courses/essentials/exception-handling)