syntax = "proto3"; package onprem.user.v1; option go_package="gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; import "google/protobuf/any.proto"; message ErrorObject { // ID is a unique identifier for this particular occurrence of a problem. string id = 1; // Title is a short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. string title = 2; // Detail is a human-readable explanation specific to this occurrence of the problem. Like title, this field’s value can be localized. string detail = 3; // Status is the HTTP status code applicable to this problem, expressed as a string value. string status = 4; // Code is an application-specific error code, expressed as a string value. string code = 5; // Meta is an object containing non-standard meta-information about the error. map meta = 6; } message ErrorObjects { repeated ErrorObject error_object = 1; }