NewInvalidRequestContentException xxx
(cause string, lasterr error)
| 202 | |
| 203 | // NewInvalidRequestContentException xxx |
| 204 | func NewInvalidRequestContentException(cause string, lasterr error) FinalError { |
| 205 | return NewGenericException(BasicError{ |
| 206 | Code: InvalidRequestContentException, |
| 207 | Cause: cause, |
| 208 | Message: "The request body could not be parsed as JSON", |
| 209 | Status: http.StatusBadRequest, |
| 210 | }, lasterr) |
| 211 | } |
| 212 | |
| 213 | // NewServiceException xxx |
| 214 | func NewServiceException(cause string, lasterr error) FinalError { |
nothing calls this directly
no test coverage detected