A Error creator
Create Error result from value
t(error) :: {:error, error}
of(arg) :: t(arg) when arg: var
iex> Result.Error.of("a") {:error, "a"} iex> Result.Error.of(12345) {:error, 12345}