Table of Contents

Class LibSodiumException

Namespace
LibSodium
Assembly
LibSodium.Net.dll

Represents errors that occur during Sodium operations.

[Serializable]
public class LibSodiumException : CryptographicException, ISerializable
Inheritance
LibSodiumException
Implements
Inherited Members

Constructors

LibSodiumException()

Initializes a new instance of the LibSodiumException class.

public LibSodiumException()

LibSodiumException(string?)

Initializes a new instance of the LibSodiumException class with a specified error message.

public LibSodiumException(string? message)

Parameters

message string

The error message that explains the reason for the exception.

LibSodiumException(string?, Exception?)

Initializes a new instance of the LibSodiumException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public LibSodiumException(string? message, Exception? innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.