[Front-end] Fixed up first prototype of error handling module