ErrorResponse Class
Defines the properties that are common to all Alpaca responses.
Namespace: ASCOM.Common.AlpacaAssembly: ASCOM.Common (in ASCOM.Common.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
public class ErrorResponse : IErrorResponse
Public Class ErrorResponse
Implements IErrorResponse
- Inheritance
- Object ErrorResponse
- Derived
- Implements
- IErrorResponse
| ErrorResponse | Initializes a new instance of the ErrorResponse class |
| DriverException |
Optional field for Windows drivers to return an exception to the client application.
|
| 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.
|
Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10