DotEnvSerializationException Class
Definition
- Assembly
- Bodu.Text.DotEnv.dll
- Package
- Bodu.Text.DotEnv 1.0.0
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
messagestringThe error message.
DotEnvSerializationException(string, Exception)
Initializes a new instance of the DotEnvSerializationException class.
public DotEnvSerializationException(string message, Exception innerException)
Parameters
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |