Ejemplo n.º 1
0
 public OrchestrationException(OrchestrationErrorType type, string message)
 {
     Error = new OrchestrationError
     {
         Type = type,
         Data = message
     };
 }
Ejemplo n.º 2
0
 public OrchestrationException(OrchestrationErrorType type, object data)
 {
     Error = new OrchestrationError
     {
         Type = type,
         Data = data
     };
 }
Ejemplo n.º 3
0
 public OrchestrationException(OrchestrationErrorType type, WorkItem wi, object data = null)
 {
     Error = new OrchestrationError()
     {
         Type       = type,
         RecordId   = wi.RecordId,
         SupplierId = wi.ResourceId,
         Action     = wi.Action,
         RecordType = wi.RecordType,
         Current    = wi.Current,
         Cache      = wi.Cache,
         Diff       = wi.Diff,
         Data       = data
     };
 }