| 269 | var ErrParameterValidation = xerrors.New("parameter validation failed") |
| 270 | |
| 271 | type BuildError struct { |
| 272 | // Status is a suitable HTTP status code |
| 273 | Status int |
| 274 | Message string |
| 275 | Wrapped error |
| 276 | } |
| 277 | |
| 278 | func (e BuildError) Error() string { |
| 279 | if e.Wrapped == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected