ExceptionHelpersExceptionFromResponse Method
This method gets a given driver exception from a response
Namespace: ASCOM.Common.HelpersAssembly: ASCOM.Common (in ASCOM.Common.dll) Version: 4.1.0+517b408ca408f7a19aace78c1509f524714a3a13
public static DriverException ExceptionFromResponse(
IResponse response
)
Public Shared Function ExceptionFromResponse (
response As IResponse
) As DriverException
- response IResponse
- The Alpaca response
DriverExceptionNull if there is no exception, otherwise the ASCOM Exception for the error code
Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10