mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
Refactoring
This commit is contained in:
13
Wox.Infrastructure/Exceptions/WoxException.cs
Normal file
13
Wox.Infrastructure/Exceptions/WoxException.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace Wox.Infrastructure.Exceptions
|
||||
{
|
||||
public class WoxException : Exception
|
||||
{
|
||||
public WoxException(string msg)
|
||||
: base(msg)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
14
Wox.Infrastructure/Exceptions/WoxHttpException.cs
Normal file
14
Wox.Infrastructure/Exceptions/WoxHttpException.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Wox.Infrastructure.Exceptions
|
||||
{
|
||||
public class WoxHttpException :WoxException
|
||||
{
|
||||
public WoxHttpException(string msg) : base(msg)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
10
Wox.Infrastructure/Exceptions/WoxJsonRPCException.cs
Normal file
10
Wox.Infrastructure/Exceptions/WoxJsonRPCException.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Wox.Infrastructure.Exceptions
|
||||
{
|
||||
public class WoxJsonRPCException : WoxException
|
||||
{
|
||||
public WoxJsonRPCException(string msg)
|
||||
: base(msg)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user