Skip to content

Class DeviceException ​

Namespace: Belay.Core
Assembly: Belay.Core.dll

Simple exception for all device-related errors. Follows simple error handling pattern with minimal complexity.

csharp
public class DeviceException : Exception, ISerializable

Inheritance ​

object ← Exception ← DeviceException

Implements ​

ISerializable

Inherited Members ​

Exception.GetBaseException(), Exception.GetType(), Exception.ToString(), Exception.Data, Exception.HelpLink, Exception.HResult, Exception.InnerException, Exception.Message, Exception.Source, Exception.StackTrace, Exception.TargetSite, Exception.SerializeObjectState, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors ​

DeviceException(string)

Initializes a new instance of the class.

DeviceException(string, Exception)

Initializes a new instance of the class.

Released under the Apache License 2.0.