Fixed use of `raise` versus `fail` in code examples.