package octavius

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type position = {
  1. line : int;
  2. column : int;
}
type location = {
  1. start : position;
  2. finish : position;
}
type parser_error =
  1. | Unclosed of {
    1. opening_loc : location;
    2. opening : string;
    3. items : string;
    4. closing : string;
    }
  2. | Expecting of string
type lexer_error =
  1. | Unmatched_target
  2. | Unmatched_code
  3. | Unmatched_pre_code
  4. | Unmatched_html_code
  5. | Unterminated_verbatim
  6. | Unterminated_target
  7. | Unterminated_code
  8. | Unterminated_pre_code
  9. | Unterminated_ref
  10. | Unterminated_html_code
  11. | Nested_verbatim
  12. | Nested_target
  13. | Nested_pre_code
  14. | Nested_html_code
  15. | Expected_see
  16. | Unterminated_see_url
  17. | Unterminated_see_file
  18. | Unterminated_see_doc
  19. | Expected_ident
  20. | Expected_string
  21. | Expected_version
type error =
  1. | Lexer of lexer_error
  2. | Parser of parser_error
type t = {
  1. error : error;
  2. location : location;
}
val message : error -> string
OCaml

Innovation. Community. Security.