예제 #1
0
        public static void PublishError(Type channelType, Exception error)
        {
            Guard.ArgumentNotNull(channelType, "channelType");

            ChannelInvoker _invoker = GetChannelInvoker(channelType);

            _invoker.PublishError(error, false);
        }
예제 #2
0
        public static void PublishError(Type channelType, string key, Exception error, bool asynchronously)
        {
            Guard.ArgumentNotNull(channelType, "channelType");

            ChannelInvoker _invoker = GetChannelInvoker(channelType);

            _invoker.PublishError(key, error, asynchronously);
        }