public static void SetInstance(ExceptionDestructuringProcessor processor)
        {
            if (Instance != null)
            {
                throw new InvalidOperationException("The instance of exception destructuring processor has been set.");
            }

            Instance = processor ?? throw new ArgumentNullException(nameof(processor));
        }
 public ExceptionEnricher(ExceptionDestructuringProcessor processor)
 {
     _processor = processor ?? throw new ArgumentNullException(nameof(processor));
 }