mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-19 07:56:35 +08:00
优化了SereinWebSocket的API
This commit is contained in:
34
Serein.Proto.WebSocket/SereinWebSocketHandleException.cs
Normal file
34
Serein.Proto.WebSocket/SereinWebSocketHandleException.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Serein.Proto.WebSocket
|
||||
{
|
||||
/// <summary>
|
||||
/// WebSocket处理异常
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
internal sealed class SereinWebSocketHandleException : Exception
|
||||
{
|
||||
public SereinWebSocketHandleException()
|
||||
{
|
||||
}
|
||||
|
||||
public SereinWebSocketHandleException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public SereinWebSocketHandleException(string message, Exception innerException)
|
||||
: base(message, innerException)
|
||||
{
|
||||
}
|
||||
|
||||
private SereinWebSocketHandleException(SerializationInfo info, StreamingContext context): base(info, context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user