Return `True` for 4xx status codes, `False` otherwise.
(value: int)
| 4 | |
| 5 | |
| 6 | def is_status_code_client_error(value: int) -> bool: |
| 7 | """Return `True` for 4xx status codes, `False` otherwise.""" |
| 8 | return HTTPStatus.BAD_REQUEST <= value < HTTPStatus.INTERNAL_SERVER_ERROR |
| 9 | |
| 10 | |
| 11 | def is_status_code_server_error(value: int) -> bool: |
no outgoing calls
no test coverage detected