Add error messages to (Sub)categories

There are still some issues to be solved.