| 3 | import "net/http" |
| 4 | |
| 5 | type appError struct { |
| 6 | Error error |
| 7 | Message string |
| 8 | Code int |
| 9 | ContentType string |
| 10 | } |
| 11 | |
| 12 | func internalServerError(err error) *appError { |
| 13 | return &appError{ |
nothing calls this directly
no outgoing calls
no test coverage detected