Let\'s say you have a form which posts data to API server. The API server validates the input and returns JSON object. If the input is invalid an error objects like the one belo