Skip to content

Commit cb6de5d

Browse files
committed
testfix
1 parent 54e8d7e commit cb6de5d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ServiceResponse/ServiceResponse/PandaTech/ExceptionHandler/DebugExceptionHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace PandaTech.ServiceResponse;
44

55
public class DebugExceptionHandler : IExceptionHandler
66
{
7-
public T Handle<T>(T serviceResponse, Exception serviceException) where T : IServiceResponse
7+
public T Handle<T>(T serviceResponse, Exception serviceException) where T : ServiceResponse
88
{
99
if (serviceException is ServiceException exception)
1010
{

ServiceResponse/ServiceResponse/PandaTech/ExceptionHandler/IExceptionHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ namespace PandaTech.ServiceResponse;
22

33
public interface IExceptionHandler
44
{
5-
T Handle<T>(T serviceResponse, Exception serviceException) where T : IServiceResponse;
5+
T Handle<T>(T serviceResponse, Exception serviceException) where T : ServiceResponse;
66
}

ServiceResponse/ServiceResponse/PandaTech/ExceptionHandler/PublicExceptionHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ namespace PandaTech.ServiceResponse;
22

33
public class PublicExceptionHandler : IExceptionHandler
44
{
5-
public T Handle<T>(T serviceResponse, Exception serviceException) where T : IServiceResponse
5+
public T Handle<T>(T serviceResponse, Exception serviceException) where T : ServiceResponse
66
{
77
if (serviceException is ServiceException exception)
88
{

0 commit comments

Comments
 (0)