NewRequestTimeoutException xxx
(cause string, timeout time.Duration, lasterr error)
| 233 | |
| 234 | // NewRequestTimeoutException xxx |
| 235 | func NewRequestTimeoutException(cause string, timeout time.Duration, lasterr error) FinalError { |
| 236 | return NewGenericException(BasicError{ |
| 237 | Code: RequestTimeoutException, |
| 238 | Cause: cause, |
| 239 | Message: fmt.Sprintf("Task timed out after %.2f seconds", timeout.Seconds()), |
| 240 | Status: http.StatusOK, |
| 241 | }, lasterr) |
| 242 | } |
| 243 | |
| 244 | // NewNotImplementedException xxx |
| 245 | func NewNotImplementedException() FinalError { |
nothing calls this directly
no test coverage detected