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.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
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