NewUnrecognizedClientException creates a UnrecognizedClientException HTTP status code is StatusForbidden (403)
(cause string, lasterr error)
| 223 | // NewUnrecognizedClientException creates a UnrecognizedClientException |
| 224 | // HTTP status code is StatusForbidden (403) |
| 225 | func NewUnrecognizedClientException(cause string, lasterr error) FinalError { |
| 226 | return NewGenericException(BasicError{ |
| 227 | Code: UnrecognizedClientException, |
| 228 | Cause: cause, |
| 229 | Message: "Access Denied", |
| 230 | Status: http.StatusForbidden, |
| 231 | }, lasterr) |
| 232 | } |
| 233 | |
| 234 | // NewRequestTimeoutException xxx |
| 235 | func NewRequestTimeoutException(cause string, timeout time.Duration, lasterr error) FinalError { |
nothing calls this directly
no test coverage detected