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

Class BookImportError

openlibrary/plugins/importapi/code.py:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
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 2

raise_non_book_marcFunction · 0.85
get_ia_import_recordMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected