S
try {
...
if (state) throw new Error("...");
...
} catch(error) {
return res.status(409).send(error);
}
...
try{
if(..)
}
catch(..)
}
catch(){
}
Вот так имел ввиду
Size: a a a
S
АП
АП
АК
PS
꧁岡
АК
> JSON.stringify(new Error('test'))
'{}'
М
꧁岡
М
MK
LC
꧁岡
LC
TK
TK