Table of Contents

Class NyraException

Namespace
Nyra.Exceptions
Assembly
Nyra.dll

Base class of the errors raised by Nyra, catching it groups them all at once.

public class NyraException : Exception, ISerializable
Inheritance
NyraException
Implements
Derived
Inherited Members

Remarks

The concrete exceptions are sealed, the open base is the extension point, derive from it to raise custom Nyra-family errors.

Constructors

NyraException(string)

Creates the exception.

protected NyraException(string message)

Parameters

message string

The message that describes the error.

NyraException(string, Exception?)

Creates the exception.

protected NyraException(string message, Exception? innerException = null)

Parameters

message string

The message that describes the error.

innerException Exception

The exception that caused this one, null when there is none.