Slide 38
Slide 38 text
------------------------------------------
reason_code.proto:
------------------------------------------
enum ReasonCode {
RC00000 = 0[(ext.reason_code) = {
message: [
"A foo error occurred.",
"Please check resources at https://example.com.",
"If it's bar, please proceed”,
“with the standard workaround."
]
}];
RC00001 = 1[(ext.reason_code) = {
message: [
"5xx errors returned from foo's system.",
"Their system might be experiencing issues.",
"Check logs and if it's not temporary,”,
"contact the responsible party through PM.",
"foo, Inc.”,
"080-1111-1111"
]
}];
}
38
Single Source of Truth: Proto File
● Unique code linking implementation and
runbook
Message (Runbook)
● Runbook associated with the corresponding
reason code
Reason Code