Table of Contents

DotEnvSerializationException Class

Definition

Namespace
Bodu.Text.DotEnv
Assembly
Bodu.Text.DotEnv.dll
Package
Bodu.Text.DotEnv 1.0.0
Source
DotEnvSerializationException.cs

Represents an error that occurs while mapping a .NET object to or from DotEnv with DotEnvSerializer, such as an unsupported root type, a missing required key, or a value that cannot be converted to the target type.

public sealed class DotEnvSerializationException : Exception, ISerializable
Inheritance
DotEnvSerializationException
Implements
Inherited Members
Extension Methods

Constructors

DotEnvSerializationException()

Initializes a new instance of the DotEnvSerializationException class.

public DotEnvSerializationException()

DotEnvSerializationException(string)

Initializes a new instance of the DotEnvSerializationException class.

public DotEnvSerializationException(string message)

Parameters

message string

The error message.

DotEnvSerializationException(string, Exception)

Initializes a new instance of the DotEnvSerializationException class.

public DotEnvSerializationException(string message, Exception innerException)

Parameters

message string

The error message.

innerException Exception

The inner exception.

Applies to

ProductVersions
.NET8, 10