Example demonstrating the usage of middleware functions and error handlers in express