Module: ncbi.datasets.openapi.exceptions

NCBI Datasets API

Module: ncbi.datasets.openapi.exceptions

NCBI Datasets API

### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets API is still in alpha, and we’re updating it often to add new functionality, iron out bugs and enhance usability. For some larger downloads, you may want to download a [dehydrated bag](https://0-www-ncbi-nlm-nih-gov.brum.beds.ac.uk/datasets/docs/rehydrate/), and retrieve the individual data files at a later time. # noqa: E501

The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech

exception ncbi.datasets.openapi.exceptions.OpenApiException

Bases: Exception

The base exception class for all OpenAPIExceptions

exception ncbi.datasets.openapi.exceptions.ApiTypeError(msg, path_to_item=None, valid_classes=None, key_type=None)

Bases: ncbi.datasets.openapi.exceptions.OpenApiException, TypeError

exception ncbi.datasets.openapi.exceptions.ApiValueError(msg, path_to_item=None)

Bases: ncbi.datasets.openapi.exceptions.OpenApiException, ValueError

exception ncbi.datasets.openapi.exceptions.ApiAttributeError(msg, path_to_item=None)

Bases: ncbi.datasets.openapi.exceptions.OpenApiException, AttributeError

exception ncbi.datasets.openapi.exceptions.ApiKeyError(msg, path_to_item=None)

Bases: ncbi.datasets.openapi.exceptions.OpenApiException, KeyError

exception ncbi.datasets.openapi.exceptions.ApiException(status=None, reason=None, http_resp=None)

Bases: ncbi.datasets.openapi.exceptions.OpenApiException

exception ncbi.datasets.openapi.exceptions.NotFoundException(status=None, reason=None, http_resp=None)

Bases: ncbi.datasets.openapi.exceptions.ApiException

exception ncbi.datasets.openapi.exceptions.UnauthorizedException(status=None, reason=None, http_resp=None)

Bases: ncbi.datasets.openapi.exceptions.ApiException

exception ncbi.datasets.openapi.exceptions.ForbiddenException(status=None, reason=None, http_resp=None)

Bases: ncbi.datasets.openapi.exceptions.ApiException

exception ncbi.datasets.openapi.exceptions.ServiceException(status=None, reason=None, http_resp=None)

Bases: ncbi.datasets.openapi.exceptions.ApiException

ncbi.datasets.openapi.exceptions.render_path(path_to_item)

Returns a string representation of a path

Generated October 22, 2021