refactor ErrorMessage
adapt ErrorMessage::Builder to work with refactored ErrorMessage.