MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / __init__

Method __init__

openlibrary/plugins/importapi/code.py:47–50  ·  view source on GitHub ↗
(self, error_code, error="Invalid item", **kwargs)

Source from the content-addressed store, hash-verified

45
46class BookImportError(Exception):
47 def __init__(self, error_code, error="Invalid item", **kwargs):
48 self.error_code = error_code
49 self.error = error
50 self.kwargs = kwargs
51
52
53def parse_meta_headers(edition_builder):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected