Skip to content

bookops_worldcat.errors

This module contains the set of bookops_worldcat exceptions.

BookopsWorldcatError

Bases: Exception

Base class for exceptions in this module.

InvalidOclcNumber

Bases: BookopsWorldcatError

Exception raised when an invalid OCLC record number is encountered

WorldcatAuthorizationError

Bases: BookopsWorldcatError

Exception raised when WorldCat access token is not obtained

WorldcatRequestError

Bases: BookopsWorldcatError

Exceptions raised on HTTP errors returned by web service