DataPipelineException
Namespace: Meshmakers.Octo.Sdk.Common.EtlDataPipeline
Exception thrown by the data pipeline.
public class DataPipelineException : Exception, ISerializable
Inheritance Object → Exception → DataPipelineException
Implements ISerializable
Properties
TargetSite
public MethodBase TargetSite { get; }
Property Value
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
Methods
MissingRequiredConfiguration(String, String)
internal static Exception MissingRequiredConfiguration(string nodeName, string propertyName)
Parameters
nodeName String
propertyName String
Returns
NoConfigurationNodeSet()
internal static Exception NoConfigurationNodeSet()
Returns
ValueTypeUnsupported(String, AttributeValueTypesDto)
internal static Exception ValueTypeUnsupported(string path, AttributeValueTypesDto valueType)
Parameters
path String
valueType AttributeValueTypesDto
Returns
ValueNotConvertible(String, AttributeValueTypesDto, Exception)
A value exists at path but cannot be represented as
valueType (out of range, wrong JSON kind). The serializer's own message
names only the CLR type, so the data path is prepended here — the node path is added later by
.
internal static Exception ValueNotConvertible(string path, AttributeValueTypesDto valueType, Exception innerException)
Parameters
path String
valueType AttributeValueTypesDto
innerException Exception
Returns
UnknownDiscriminator(String)
internal static Exception UnknownDiscriminator(string discriminatorValue)
Parameters
discriminatorValue String
Returns
UnknownConfigurationType(Type)
internal static Exception UnknownConfigurationType(Type type)
Parameters
type Type
Returns
UnknownObjectPipelineNode(String)
internal static Exception UnknownObjectPipelineNode(string nodeQualifiedName)
Parameters
nodeQualifiedName String
Returns
CurrentIsNull()
internal static Exception CurrentIsNull()
Returns
ValueIsObjectButMustBePrimitive(String)
internal static Exception ValueIsObjectButMustBePrimitive(string path)
Parameters
path String
Returns
NoDiscriminatorFound()
internal static Exception NoDiscriminatorFound()
Returns
CannotCreateInstance(Type)
internal static Exception CannotCreateInstance(Type nodeType)
Parameters
nodeType Type
Returns
ValueIsArrayMustBeScalar(String)
internal static Exception ValueIsArrayMustBeScalar(string path)
Parameters
path String
Returns
ValueIsObjectButMustBeArray(String)
internal static Exception ValueIsObjectButMustBeArray(string path)
Parameters
path String
Returns
ValueIsNotArray(String)
internal static Exception ValueIsNotArray(string path)
Parameters
path String
Returns
EtlContextFactoryNotSet(Type)
internal static Exception EtlContextFactoryNotSet(Type t)
Parameters
t Type
Returns
SourceMustBeAnObject(String, DataKind)
internal static Exception SourceMustBeAnObject(string sourcePath, DataKind currentKind)
Parameters
sourcePath String
currentKind DataKind
Returns
UnknownWriteMode(TargetValueWriteModes)
internal static Exception UnknownWriteMode(TargetValueWriteModes targetValueWriteModes)
Parameters
targetValueWriteModes TargetValueWriteModes
Returns
ValueIsArrayMustBeScalarForWriteMode(String, TargetValueWriteModes)
internal static Exception ValueIsArrayMustBeScalarForWriteMode(string path, TargetValueWriteModes targetValueWriteModes)
Parameters
path String
targetValueWriteModes TargetValueWriteModes
Returns
ParentNodeContextIsNull()
internal static Exception ParentNodeContextIsNull()
Returns
TargetValueIsObjectMustBeObjectForWriteMode(String, TargetValueWriteModes)
internal static Exception TargetValueIsObjectMustBeObjectForWriteMode(string path, TargetValueWriteModes targetValueWriteModes)
Parameters
path String
targetValueWriteModes TargetValueWriteModes
Returns
SourceValueIsObjectMustBeObjectForWriteMode(String, TargetValueWriteModes)
internal static Exception SourceValueIsObjectMustBeObjectForWriteMode(string path, TargetValueWriteModes targetValueWriteModes)
Parameters
path String
targetValueWriteModes TargetValueWriteModes
Returns
TargetPipelineFailed(String)
internal static Exception TargetPipelineFailed(string errorMessage)
Parameters
errorMessage String
Returns
Redacted(String, Exception)
A copy of a DataPipelineException whose message had a registered secret masked (AB#5538, PipelineSecretRegistry.RedactException(Exception)). Keeps the type, so the orchestrator still recognises it as already wrapped.
internal static DataPipelineException Redacted(string message, Exception inner)
Parameters
message String
inner Exception
Returns
NodeExecutionFailed(String, Exception)
internal static Exception NodeExecutionFailed(string nodePath, Exception innerException)
Parameters
nodePath String
innerException Exception