Fix spelling (faileOnError --> failOnError)