Class ETLBoxError

The generic ETLBox Exception. Contains serialized information about the error.

Inheritance
ETLBoxError
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
    public class ETLBoxError

Properties

Context

Additional information about parameters used in the current processing state

Declaration
    public string Context { get; set; }
Property Value
TypeDescription
string

ErrorText

The exception message as a string

Declaration
    public string ErrorText { get; set; }
Property Value
TypeDescription
string

ExceptionType

The exception type as string

Declaration
    public string ExceptionType { get; set; }
Property Value
TypeDescription
string

RecordAsJson

The erroneous record(s) serialized as json

Declaration
    public string RecordAsJson { get; set; }
Property Value
TypeDescription
string

ReportTime

The point in time when the error occured

Declaration
    public DateTime ReportTime { get; set; }
Property Value
TypeDescription
DateTime

Source

Additional information about the current state of the source during the exception

Declaration
    public string Source { get; set; }
Property Value
TypeDescription
string

Methods

GetException()

The exception thrown at the source

Declaration
    public Exception GetException()
Returns
TypeDescription
Exception