No matter how hard we try to design and develop applications, errors
will always occur. There are two general categories – syntax or logical
errors can be either programmatic errors or consequences of incorrect
database design. Otherwise, you might get an error because of the wrong
user input.