- adding an internal exception handler to catch InvalidOperationException and throw a new explicit one
13 lines
326 B
C#
13 lines
326 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace TelegramBotBase.Exceptions
|
|
{
|
|
public sealed class InvalidServiceProviderConfiguration : Exception
|
|
{
|
|
public InvalidServiceProviderConfiguration(string message, Exception innerException) : base(message, innerException) { }
|
|
|
|
}
|
|
}
|