Skip to content

Exceptions

InternalError

An error occurred in the service

InvalidParameters

You passed an invalid parameter value.

MethodNotFound

Method not found in vPIC API.

ServiceUnavailable

The service is not available, and may be down for maintenance.

TooManyRequests

You made too many requests

See the Retry-After header for advice about how long to wait before submitting another request.

VPICError

Base class for vPIC API client exceptions.

Attributes:

Name Type Description
message

Human readable string describing the exception.

detail Optional[str]

A more detailed or specific description of the exception.

response Optional[requests.models.Response]

The requests.models.Response from the vPIC API.