Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

ErrorMessage property

Project: Console Application Runner Classes

Unit: PJConsoleApp

Classes: TPJCustomConsoleApp, TPJConsoleApp

Applies to: ~>3.0

property ErrorMessage: string;

Description

This read only property stores the error message corresponding the value of ErrorCode, or the empty string if ErrorCode is 0.

If ErrorCode corresponds to a Windows error then ErrorMessage stores the error description provided by Windows.

Remarks

The property is public in TPJConsoleApp and protected in TPJCustomConsoleApp.