Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
In previous steps, you added validators to your models that prevent null values, empty strings, and faulty releaseDate and runtime values from being stored in the database. And you set custom messages to appear when validation fails.
When validation fails, Sequelize throws a SequelizeValidationError showing the message. For example:
I forgot my password