Add an interface for the different error response messages.