0
Hello, I would like to know how I can treat possible errors when performing a create with sequelize for example considering the following insertion
Livros.create({
BK_TITLE: data.title,
BK_GENRE: data.genre,
BK_AUTOR: data.author,
BK_OBS: data.obs
})
Is there any way to identify if he successfully entered or presented error for example the lack of an input or something like that so I can handle in my front-end