(provided interface{}, boundary interface{})
| 278 | } |
| 279 | |
| 280 | func ErrorMustBeLessThan(provided interface{}, boundary interface{}) error { |
| 281 | return errors.WithStack(&errors.Error{ |
| 282 | Kind: ErrMustBeLessThan, |
| 283 | Message: fmt.Sprintf("must be less than %s (got %s)", s.UserStr(boundary), s.UserStr(provided)), |
| 284 | }) |
| 285 | } |
| 286 | |
| 287 | func ErrorMustBeGreaterThanOrEqualTo(provided interface{}, boundary interface{}) error { |
| 288 | return errors.WithStack(&errors.Error{ |
no test coverage detected