Class FormDataConverterLogger.LogErrorInfo
An error, issue or Exception.
Inheritance
System.Object
FormDataConverterLogger.LogErrorInfo
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cqrs.WebApi.Formatters.FormMultipart.Infrastructure.Logger
Assembly: Cqrs.WebApi.dll
Syntax
public class LogErrorInfo
Constructors
LogErrorInfo(Exception)
Instantiates a new instance of FormDataConverterLogger with the specified exception
Declaration
public LogErrorInfo(Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception |
LogErrorInfo(String)
Instantiates a new instance of FormDataConverterLogger with the specified errorMessage
.
Declaration
public LogErrorInfo(string errorMessage)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorMessage |
Properties
ErrorMessage
The details of the error, issue or Exception.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
Exception
The Exception if IsException is true.
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
System.Exception |
IsException
Indicates of the error or issue was an exception.
Declaration
public bool IsException { get; }
Property Value
Type | Description |
---|---|
System.Boolean |