(err *Error)
| 131 | } |
| 132 | |
| 133 | func errorEventStatusCode(err *Error) int { |
| 134 | if err != nil && err.HTTPStatus > 0 { |
| 135 | return err.HTTPStatus |
| 136 | } |
| 137 | return 500 |
| 138 | } |
| 139 | |
| 140 | func errorEventBody(err *Error) string { |
| 141 | if err == nil { |
no outgoing calls
no test coverage detected