Packages

A Elixir library for working with PDFs using poppler rendering library

Current section

Files

Jump to
ex_pdf_poppler lib exception.ex
Raw

lib/exception.ex

defmodule ExPdfPoppler.Error do
@moduledoc """
An exception that is raised when a ExPdfPoppler action fails
"""
defexception [:reason, action: ""]
@impl true
def message(%{action: action, reason: reason}) do
"could not do ExPdfPoppler action: #{action} reason: #{reason}"
end
end