(invalidStr string)
| 439 | } |
| 440 | |
| 441 | func ErrorCortexResourceOnlyAllowed(invalidStr string) error { |
| 442 | return errors.WithStack(&errors.Error{ |
| 443 | Kind: ErrCortexResourceOnlyAllowed, |
| 444 | Message: fmt.Sprintf("%s: only cortex resource references (which start with @) are allowed in this context", invalidStr), |
| 445 | }) |
| 446 | } |
| 447 | |
| 448 | func ErrorCortexResourceNotAllowed(resourceName string) error { |
| 449 | return errors.WithStack(&errors.Error{ |
no test coverage detected