add check for another error message
make regex parsing more lenient
add break statement
sequelize error picks up message from db err
Merge pull request #2395 from vpontis/error-parsing

add different error format for 23505 error on postgres