(httpCode int, code string)
| 85 | } |
| 86 | |
| 87 | func WithCode(httpCode int, code string) Option { |
| 88 | return func(a *APIError) { |
| 89 | _ = a.appendCode(httpCode, code) |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | func WithCtx(ctx interface{}) Option { |
| 94 | return func(a *APIError) { |
no test coverage detected