Regula v0.1.0 Regula.EvalResult View Source

A struct representing an evaluation response from Regula server.

  • value: representation of the data by regula server
  • version: a string representing the version of the ruleset used to evaluate.
  • error: present only if the server provided an error message, nil otherwise.

Link to this section Summary

Link to this section Types

Link to this type error() View Source
error() :: {:error, term()} | nil
Link to this type t() View Source
t() :: %Regula.EvalResult{error: error(), value: map(), version: String.t()}