Codeunit 29 Error Message Handler

Base Application, System.Utilities

Source AL, 296 lines

src/Layers/W1/BaseApp/Modules/System/ErrorMessage/ErrorMessageHandler.Codeunit.allines 6 to 21 of 296, Copyright (c) Microsoft Corporation. MIT

codeunit 29 "Error Message Handler"{    EventSubscriberInstance = Manual;    trigger OnRun()    begin    end;    var        TempErrorMessage: Record "Error Message" temporary;        Active: Boolean;        NotificationMsg: Label 'An error or warning occured during operation %1.', Comment = '%1 - decription of operation';        DetailsMsg: Label 'Details';        LastErrorCallStack: Text;    procedure AppendTo(var TempErrorMessageBuf: Record "Error Message" temporary): Boolean

All 296 lines

Events 2 in 29

[IntegrationEvent] OnBeforeActivateErrorMessageHandler(var ErrorMessageHandler: Codeunit "Error Message Handler")new in 22
[IntegrationEvent] OnAfterRegisterErrorMessages(var ErrorMessage: Record "Error Message"; var RegisterID: Guid)new in 23

Public procedures 10 in 29

AppendTo(var TempErrorMessageBuf: Record "Error Message" temporary): Boolean17-29
Activate(var ErrorMessageHandler: Codeunit "Error Message Handler"): Boolean17-29
ShowErrors(): Boolean17-29
NotifyAboutErrors()17-29
RegisterErrorMessages(): Guid17-29
WriteMessagesToFile(FileName: Text; ThrowLastError: Boolean): Boolean17-29

All 10 procedures

Changes 1 in 23

List17181920212223242526272829
Procedures11
Events11
[IntegrationEvent] OnAfterRegisterErrorMessages(var ErrorMessage: Record "Error Message"; var RegisterID: Guid)new in 23
added

All 4 changes in 17-29