|
27 | 27 | *
|
28 | 28 | * The `Status` message contains three pieces of data: error code, error
|
29 | 29 | * message, and error details. The error code should be an enum value of
|
30 |
| - * google.rpc.Code, but it may accept additional error codes if needed. The |
31 |
| - * error message should be a developer-facing English message that helps |
32 |
| - * developers *understand* and *resolve* the error. If a localized user-facing |
33 |
| - * error message is needed, put the localized message in the error details or |
34 |
| - * localize it in the client. The optional error details may contain arbitrary |
35 |
| - * information about the error. There is a predefined set of error detail types |
36 |
| - * in the package `google.rpc` that can be used for common error conditions. |
| 30 | + * google.rpc.Code, but it may accept additional error codes |
| 31 | + * if needed. The error message should be a developer-facing English message |
| 32 | + * that helps developers *understand* and *resolve* the error. If a localized |
| 33 | + * user-facing error message is needed, put the localized message in the error |
| 34 | + * details or localize it in the client. The optional error details may contain |
| 35 | + * arbitrary information about the error. There is a predefined set of error |
| 36 | + * detail types in the package `google.rpc` that can be used for common error |
| 37 | + * conditions. |
37 | 38 | *
|
38 | 39 | * # Language mapping
|
39 | 40 | *
|
|
70 | 71 | * be used directly after any stripping needed for security/privacy reasons.
|
71 | 72 | *
|
72 | 73 | * @property {number} code
|
73 |
| - * The status code, which should be an enum value of google.rpc.Code. |
| 74 | + * The status code, which should be an enum value of |
| 75 | + * google.rpc.Code. |
74 | 76 | *
|
75 | 77 | * @property {string} message
|
76 | 78 | * A developer-facing error message, which should be in English. Any
|
77 | 79 | * user-facing error message should be localized and sent in the
|
78 |
| - * google.rpc.Status.details field, or localized by the client. |
| 80 | + * google.rpc.Status.details field, or localized |
| 81 | + * by the client. |
79 | 82 | *
|
80 | 83 | * @property {Object[]} details
|
81 | 84 | * A list of messages that carry the error details. There is a common set of
|
|
0 commit comments