Sign in Join
FPDoc Onlineexperiment

SysErrorMessageUTF8 function

In unit LazUTF8

Gets the UTF-8-encoded system error message for the specified error code.

Declaration

pascal
function SysErrorMessageUTF8(ErrorCode: Integer): string

Description

SysErrorMessageUTF8 is used to get the UTF-8-encoded system error message for the specified error code. SysErrorMessageUTF8 calls the SysUtils.SysErrorMessage function and converts the error message using SysToUTF8.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.