ErrorResponseDriverException Property

Optional field for Windows drivers to return an exception to the client application.

Definition

Namespace: ASCOM.Common.Alpaca
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 4.1.0+517b408ca408f7a19aace78c1509f524714a3a13
C#
[JsonPropertyOrderAttribute(50)]
[JsonIgnoreAttribute(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Exception DriverException { get; set; }

Property Value

Exception

Remarks

Populating this automatically sets the ErrorMessage and ErrorNumber fields; COM errors in the range 0x80040400 to 0x8040FFF are translated to equivalent Alpaca error numbers in the range 0x400 to 0xFFF.

Version Information

Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10

See Also