HelperException Class

General exception for use within Tools components.

Definition

Namespace: ASCOM
Assembly: ASCOM.Tools (in ASCOM.Tools.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
C#
public class HelperException : Exception
Inheritance
Object    Exception    HelperException
Derived

Constructors

HelperException(String) Create a new exception with message
HelperException(SerializationInfo, StreamingContext) Serialise the exception
HelperException(String, Exception) Create a new exception with message and inner exception

Extension Methods

ErrorCode Extension method to get the Alpaca Error Code for an Exception. Returns UnspecifiedError if it cannot find a better code
(Defined by ExceptionHelpers)

Version Information

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

See Also