View Source Dune.Failure (dune v0.3.11)

A struct returned when Dune parsing or evaluation fails.

Fields:

  • message (string): the error message to display to the user
  • type (atom): the nature of the error
  • stdio (string): captured standard output

Summary

Types

error_type()

@type error_type() ::
  :restricted
  | :module_restricted
  | :module_conflict
  | :timeout
  | :exception
  | :compile_error
  | :parsing
  | :memory
  | :reductions

t()

@type t() :: %Dune.Failure{message: String.t(), stdio: binary(), type: error_type()}