package oepub

  1. Overview
  2. Docs

Module Oepub.ErrorSource

Module representing errors in the epub structure or in the xml.

Sourcetype locate = [
  1. | `Manifest
  2. | `Metadata
  3. | `Toc
]
Sourcetype t =
  1. | CannotFindFile of string
  2. | UnexpectedText of locate
  3. | UnexpectedNode of locate
  4. | MissingAttribute of locate * string
  5. | MissingTag of locate * string
  6. | MissingChild of locate
  7. | PlayOrderNotInteger
  8. | MetadataMissingTitle
  9. | MissingToc
  10. | MissingOpf
  11. | MissingManifest
  12. | MissingMetadata
  13. | MissingSpine
  14. | EmptyXml