Data.DBXCommon.TDBXContext.Error

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Error(ErrorCode: TDBXErrorCode; ErrorMessage: string); overload;
procedure Error(ErrorCode: TDBXErrorCode; ErrorMessage: string; InnerException: Exception); overload;

C++

void __fastcall Error(int ErrorCode, System::UnicodeString ErrorMessage)/* overload */;
void __fastcall Error(int ErrorCode, System::UnicodeString ErrorMessage, System::Sysutils::Exception* InnerException)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.DBXCommon.pas
Data.DBXCommon.hpp
Data.DBXCommon TDBXContext

Description

Call TDBXErrorEvent.

Error calls the TDBXErrorEvent routine.

ErrorCode is a TDBXErrorCodes.

ErrorMessage is a UnicodeString error message.

NestedException is an Exception.

See Also