HtmlToMarkdown.ConversionError exception (html_to_markdown v3.18.7)

Copy Markdown

Error returned by ConversionError.

kind is the error variant as a snake_case atom. status is the HTTP status, or 0 when the error has none. retry_after_ms is the delay in milliseconds before a retry, or nil. Match on these fields, not on the message text.

Summary

Types

t()

@type t() :: %HtmlToMarkdown.ConversionError{
  __exception__: term(),
  kind: atom(),
  message: String.t(),
  retry_after_ms: non_neg_integer() | nil,
  status: non_neg_integer()
}