Table of Contents

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

message string

Exception message

CanException(string, Exception)

Creates a new CAN exception with a message and inner exception

public CanException(string message, Exception innerException)

Parameters

message string

Exception message

innerException Exception

Inner exception

CanException(string, uint)

Creates a new CAN exception with a message and error code

public CanException(string message, uint errorCode)

Parameters

message string

Exception message

errorCode uint

Native error code

Properties

ErrorCode

Error code from the native library (if available)

public uint? ErrorCode { get; }

Property Value

uint?