Class CanException
- Namespace
- Suucha.Can.Core.Exceptions
- Assembly
- Suucha.Can.Core.dll
Base exception for CAN-related errors
public class CanException : Exception, ISerializable
- Inheritance
-
CanException
- Implements
- Derived
- Inherited Members
Constructors
CanException()
Creates a new CAN exception
public CanException()
CanException(string)
Creates a new CAN exception with a message
public CanException(string message)
Parameters
messagestringException message
CanException(string, Exception)
Creates a new CAN exception with a message and inner exception
public CanException(string message, Exception innerException)
Parameters
CanException(string, uint)
Creates a new CAN exception with a message and error code
public CanException(string message, uint errorCode)
Parameters
Properties
ErrorCode
Error code from the native library (if available)
public uint? ErrorCode { get; }
Property Value
- uint?