master
parent
91e54c0df4
commit
d95677ab57
@ -0,0 +1,5 @@
|
||||
class StringSize extends Error {
|
||||
constructor(field,sSize) {
|
||||
super('Le champ ' + field + ' doit avoir une taille superieur à '+sSize);
|
||||
}
|
||||
}
|
@ -1 +1,3 @@
|
||||
const ERROR_COLOR = 'red';
|
||||
const DESCRIPTION_MINIMAL_SIZE = 20;
|
||||
const NAME_MINIMAL_SIZE = 5;
|
Loading…
Reference in new issue