All the code
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Websockets.ServiceModels.Interfaces;
|
||||
using Websockets.ServiceModels.Types;
|
||||
|
||||
namespace Websockets.ServiceModels.Messages
|
||||
{
|
||||
public class ErrorResponse : IResponse
|
||||
{
|
||||
public string Action { get; private set; }
|
||||
public string Error { get; set; }
|
||||
|
||||
public ErrorResponse(ClientAction action)
|
||||
{
|
||||
Action = action.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user