Set response messages to attributes of client error