result v0.3.1 Result.Error
A Error creator
Link to this section Summary
Link to this section Functions
Link to this function
of(value)
Create Error result from value
Examples
iex> Result.Error.of("a")
{:error, "a"}
iex> Result.Error.of(12345)
{:error, 12345}