xref: /aosp_15_r20/external/angle/build/util/lib/proto/exception_occurrences.proto (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1// Copyright 2024 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5syntax = "proto3";
6
7package build.util.lib.proto;
8
9import "google/protobuf/timestamp.proto";
10
11// Stored under the field "extended_properties" with key "exception_occurrences"
12// in the proto luci.resultdb.v1.Invocation
13// As a repeated message cannot fit directly into a google.protobuf.Struct,
14// Use "ExceptionOccurrences" message as a wrap.
15message ExceptionOccurrences {
16  repeated ExceptionOccurrence datapoints = 1;
17}
18
19message ExceptionOccurrence {
20  // The name of the exception.
21  string name = 1;
22  // The stacktrace associated with the exception.
23  repeated string stacktrace = 2;
24  // The time when this exception occurred.
25  google.protobuf.Timestamp occurred_time = 3;
26}
27