View Source Dune.Failure (dune v0.3.10)

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

@type error_type() ::
  :restricted
  | :module_restricted
  | :module_conflict
  | :timeout
  | :exception
  | :compile_error
  | :parsing
  | :memory
  | :reductions
@type t() :: %Dune.Failure{message: String.t(), stdio: binary(), type: error_type()}