Codeunit 2362 Rest Client Exception Builder
Source AL, 51 lines
src/System Application/App/Rest Client/src/ExceptionHandling/RestClientExceptionBuilder.Codeunit.allines 7 to 22 of 51, Copyright (c) Microsoft Corporation. MIT
codeunit 2362 "Rest Client Exception Builder"{ Access = Public; InherentEntitlements = X; InherentPermissions = X; /// <summary> /// Creates an exception with the specified error code and message. The exception is collectible if the errors are currently being collected. /// </summary> /// <param name="RestClientException">The error code for the exception.</param> /// <param name="ErrorMessage">The message for the exception.</param> /// <returns>The exception with the specified error code and message.</returns> procedure CreateException(RestClientException: Enum "Rest Client Exception"; ErrorMessage: Text) Exception: ErrorInfo begin Exception := CreateException(RestClientException, ErrorMessage, IsCollectingErrors()); end;Public procedures 3 in 29
| Create | new in 26 |
| Create | new in 26 |
| Get | new in 26 |