Definition of a registered error.
| 28 | |
| 29 | // Definition of a registered error. |
| 30 | type Definition struct { |
| 31 | namespace string |
| 32 | name string |
| 33 | messageFormat string |
| 34 | messageFormatArguments []string |
| 35 | parsedMessageFormat *messageformat.MessageFormat |
| 36 | publicAttributes []string |
| 37 | code uint32 // 0 is invalid; so implies Unknown (code 2) |
| 38 | grpcStatus *status.Status |
| 39 | } |
| 40 | |
| 41 | // DefinitionInterface is the interface of an error definition. |
| 42 | type DefinitionInterface interface { |
nothing calls this directly
no outgoing calls
no test coverage detected