fettle v1.0.0 Fettle.Checker.Result View Source

Result struct which is returned from Fettle.Checker functions.

Link to this section Summary

Functions

error result shortcut

create a new result with the current timestamp

create a new result with the supplied timestamp

ok result shortcut

warn result shortcut

Link to this section Types

Link to this type status() View Source
status() :: :ok | :warn | :error
Link to this type t() View Source
t() :: %Fettle.Checker.Result{
  message: message(),
  status: status(),
  timestamp: Fettle.TimeStamp.t()
}

Link to this section Functions

error result shortcut.

create a new result with the current timestamp

Link to this function new(status, message, timestamp) View Source

create a new result with the supplied timestamp

ok result shortcut.

warn result shortcut.