| // Copyright 2020 The Chromium Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| syntax = "proto2"; | |
| package reporting; | |
| option optimize_for = LITE_RUNTIME; | |
| // Wire-format representation for a Status object. | |
| message StatusProto { | |
| // Numeric error code. | |
| optional int32 code = 1; | |
| // Detailed error message explaining the error. | |
| optional string error_message = 2; | |
| } |