FRANÇAIS
Cette bibliothèque détecte les réponses aux requêtes erronées à l'API de GitHub. Une exception signale ces erreurs.
Contenu
L'exception GitHubApiError peut être levée quand une réponse de l'API de
GitHub indique que la requête est erronée. Ses propriétés sont les suivantes.
message: le message d'erreur.doc_url: l'URL de la documentation de l'erreur.status: le code du statut de la réponse.req_url: l'URL de la requête erronée.
La fonction detect_github_api_error examine les données provenant de l'API de
GitHub et lève GitHubApiError si elles résultent d'une requête erronée. Les
données doivent être un objet produit par la lecture du contenu de la réponse,
qui est en JSON.
L'utilisateur devrait se fier à detect_github_api_error plutôt que lever
GitHubApiError lui-même.
Pour plus d'informations, consultez la documentation et la démo dans le dépôt de code source.
ENGLISH
This library detects the responses to erroneous requests to the GitHub API. An exception signals these errors.
Content
Exception GitHubApiError can be raised when a response from the GitHub API
indicates that the request is erroneous. Its properties are the following.
message: the error message.doc_url: the URL to the error's documentation.status: the response's status code.req_url: the erroneous request's URL.
Function detect_github_api_error examines data from the GitHub API and raises
a GitHubApiError if it is the result of an erroneous request. The data must
be an object returned by the parsing of the response's content, which is in
JSON.
The user should rely on detect_github_api_error rather than raising
GitHubApiError themself.
For more information, consult the documentation and the demo in the source code repository.
Metadata
Release files for ghae 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ghae-1.0.1.tar.gz | 5.0 kB | Without provenance | Details for ghae-1.0.1.tar.gz |
Release files / ghae-1.0.1.tar.gz
| Download URL | ghae-1.0.1.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5522411ae40b54cc49c6e03d1f7d8eca88d01f60a2629a230adaccdeeaf0ca2
|
|
BLAKE2b-256 checksum How to use checksums |
b55aac9587b1529c53fea4afaf5be9502237309a7fe6679efed38023e73c424c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Security for ghae 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.