| 27 | const ErrNotCortexError = "error" |
| 28 | |
| 29 | type Error struct { |
| 30 | Kind string |
| 31 | Message string |
| 32 | Metadata interface{} // won't be printed |
| 33 | NoTelemetry bool |
| 34 | NoPrint bool |
| 35 | Cause error |
| 36 | stack *stack |
| 37 | } |
| 38 | |
| 39 | func (cortexError *Error) Error() string { |
| 40 | return cortexError.Message |
nothing calls this directly
no outgoing calls
no test coverage detected