ErrorSourcePointer allows for a user to document the request header that is creating the error.
| 90 | |
| 91 | // ErrorSourcePointer allows for a user to document the request header that is creating the error. |
| 92 | type ErrorSourceHeader interface { |
| 93 | // ErrorSourceHeader returns the request header name that is creating the error. |
| 94 | // |
| 95 | // e.g.: "X-App-My-Header" for an HTTP request with this header |
| 96 | ErrorSourceHeader() string |
| 97 | } |
| 98 | |
| 99 | // ErrorSourcePointer allows for a user to document the query parameter that is creating the error. |
| 100 | type ErrorSourceParameter interface { |
no outgoing calls
no test coverage detected