Current section

Files

Jump to
html_to_markdown lib html_to_markdown warning_kind.ex
Raw

lib/html_to_markdown/warning_kind.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:f394c4d53dedf126cbfc532f79109c5be71fa1656c62aec7110cfac59a7c4ebb
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
# Issues & docs: https://github.com/kreuzberg-dev/alef
defmodule HtmlToMarkdown.WarningKind do
@moduledoc "Categories of processing warnings."
@type t ::
:image_extraction_failed
| :encoding_fallback
| :truncated_input
| :malformed_html
| :sanitization_applied
| :depth_limit_exceeded
@image_extraction_failed :image_extraction_failed
@encoding_fallback :encoding_fallback
@truncated_input :truncated_input
@malformed_html :malformed_html
@sanitization_applied :sanitization_applied
@depth_limit_exceeded :depth_limit_exceeded
@spec image_extraction_failed() :: t()
def image_extraction_failed, do: @image_extraction_failed
@spec encoding_fallback() :: t()
def encoding_fallback, do: @encoding_fallback
@spec truncated_input() :: t()
def truncated_input, do: @truncated_input
@spec malformed_html() :: t()
def malformed_html, do: @malformed_html
@spec sanitization_applied() :: t()
def sanitization_applied, do: @sanitization_applied
@spec depth_limit_exceeded() :: t()
def depth_limit_exceeded, do: @depth_limit_exceeded
end