IDebugHostErrorSink::ReportError method (dbgmodel.h)

The ReportError method is a callback on the error sink to notify it that an error has occurred and allow the sink to route the error to whatever UI or mechanism is appropriate.

Syntax

HRESULT ReportError(
  ErrorClass errClass,
  HRESULT    hrError,
  PCWSTR     message
);

Parameters

errClass

An enumeration of type ErrorClass which indicates what class the error is (e.g.: warning or error)

hrError

The HRESULT of the error which occurred.

message

An optional message associated with the error.

Return value

This method returns HRESULT that indicates success or failure.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDebugHostErrorSink interface