-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathErrors.cs
More file actions
41 lines (36 loc) · 1.1 KB
/
Errors.cs
File metadata and controls
41 lines (36 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
namespace SharpEngine.Network;
/// <summary>
/// Exception which be thrown when Packet is unknown
/// </summary>
/// <param name="message">Exception Message</param>
public class UnknownPacketException(string? message) : Exception(message)
{
}
/// <summary>
/// Exception which be thrown when Type of Property is unknown
/// </summary>
/// <param name="message">Exception Message</param>
public class UnknownPropertyTypeException(string? message) : Exception(message)
{
}
/// <summary>
/// Exception which be thrown when Type of Field is unknown
/// </summary>
/// <param name="message">Exception Message</param>
public class UnknownFieldTypeException(string? message) : Exception(message)
{
}
/// <summary>
/// Exception which be thrown when Property is unknown
/// </summary>
/// <param name="message">Exception Message</param>
public class UnknownPropertyException(string? message) : Exception(message)
{
}
/// <summary>
/// Exception which be thrown when Field is unknown
/// </summary>
/// <param name="message">Exception Message</param>
public class UnknownFieldException(string? message) : Exception(message)
{
}