Initial split of the modules
This commit is contained in:
		| @@ -0,0 +1,9 @@ | ||||
| using System; | ||||
|  | ||||
| namespace NadekoBot.Modules.Music.Common.Exceptions | ||||
| { | ||||
|     public class NotInVoiceChannelException : Exception | ||||
|     { | ||||
|         public NotInVoiceChannelException() : base("You're not in the voice channel on this server.") { } | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,12 @@ | ||||
| using System; | ||||
|  | ||||
| namespace NadekoBot.Modules.Music.Common.Exceptions | ||||
| { | ||||
|     public class QueueFullException : Exception | ||||
|     { | ||||
|         public QueueFullException(string message) : base(message) | ||||
|         { | ||||
|         } | ||||
|         public QueueFullException() : base("Queue is full.") { } | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,12 @@ | ||||
| using System; | ||||
|  | ||||
| namespace NadekoBot.Modules.Music.Common.Exceptions | ||||
| { | ||||
|     public class SongNotFoundException : Exception | ||||
|     { | ||||
|         public SongNotFoundException(string message) : base(message) | ||||
|         { | ||||
|         } | ||||
|         public SongNotFoundException() : base("Song is not found.") { } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user