LuciadCPillar C# 2026.1.02
Loading...
Searching...
No Matches
Luciad.ErrorInfo Class Referencesealed

This class exposes details for a failed method call. More...

Inheritance diagram for Luciad.ErrorInfo:

Public Member Functions

 ErrorInfo (Luciad.ErrorCode errorCode)
 Constructs error info using an error code.
 ErrorInfo (Luciad.ErrorCode errorCode, string message)
 Constructs error info using an error code and a message.
 ErrorInfo (string message)
void Dispose ()

Properties

Luciad.ErrorCode ErrorCode [get]
 The error's code.
string Message [get]
 The error's message.

Detailed Description

This class exposes details for a failed method call.

It contains :

  • An error message explaining why the call failed.
  • An ErrorCode that identifies the general category of the failure, independent of the message text.

Related article: Error handling conventions used in the API The exception type depends on the context of the call, please refer to the related documentation.

Constructor & Destructor Documentation

◆ ErrorInfo() [1/3]

Luciad.ErrorInfo.ErrorInfo ( Luciad.ErrorCode errorCode)
inline

Constructs error info using an error code.

The message is derived from the error code.

Parameters
errorCodeThe error's code.
Since
2026.1

◆ ErrorInfo() [2/3]

Luciad.ErrorInfo.ErrorInfo ( Luciad.ErrorCode errorCode,
string message )
inline

Constructs error info using an error code and a message.

Parameters
errorCodeThe error's code.
messageThe error's message.

◆ ErrorInfo() [3/3]

Luciad.ErrorInfo.ErrorInfo ( string message)
inline

Member Function Documentation

◆ Dispose()

void Luciad.ErrorInfo.Dispose ( )
inline

Property Documentation

◆ ErrorCode

Luciad.ErrorCode Luciad.ErrorInfo.ErrorCode
get

The error's code.

[get]

Returns the error's code.

◆ Message

string Luciad.ErrorInfo.Message
get

The error's message.

[get]

Returns the error's message.