You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
359 B
10 lines
359 B
namespace CoreLibrary.Exceptions
|
|
{
|
|
public class CodeInvalideException : Exception
|
|
{
|
|
public CodeInvalideException(int tailleCodeAjoute, int tailleCodePlateau) :
|
|
base($"Le code que vous essayez d'ajouter est un code de taille {tailleCodeAjoute}, or le plateau attend un code de {tailleCodePlateau}.")
|
|
{ }
|
|
}
|
|
}
|