mirror of
https://github.com/yawaflua/Lava.NET.git
synced 2025-12-10 04:19:29 +02:00
Add project files.
This commit is contained in:
17
Exceptions.cs
Normal file
17
Exceptions.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Lava.NET.Exceptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Sending error when Lava.ru type is not equals your type
|
||||
/// </summary>
|
||||
public class TypeException : Exception {
|
||||
public TypeException(string? message) : base(message) { }
|
||||
public TypeException() : base() { }
|
||||
public TypeException(string? message, Exception exception) : base(message, exception) { }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user