IErrorResponse Interface

Defines the base of an Alpaca response.

Definition

Namespace: ASCOM.Common.Alpaca
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public interface IErrorResponse

Properties

ErrorMessage Empty string for a successful transaction, or a message describing the issue that was encountered. If an error message is returned, a non zero ErrorNumber must also be returned.
ErrorNumber Zero for a successful transaction, or a non-zero integer(-2147483648 to 2147483647) if the device encountered an issue.Devices must use ASCOM reserved error numbers whenever appropriate so that clients can take informed actions. E.g.returning 0x401 (1025) to indicate that an invalid value was received.

Version Information

.NET Standard

Supported in: 2.0

See Also