Create solution and project. Append a attribute to return a json object when exception