Piping functions together is really convenient in many cases, but sometimes you need more advanced error condition handling.

We’ll cover

  • The problem with piping functions together
  • Railway programming in Elixir - http://www.zohaib.me/railway-programming-pattern-in-elixir/
  • :ok and :error tuples
  • One workaround: using ‘with’
download code samples