Location: PHPKode > scripts > Craur > DracoBlue-Craur-305a42f/php/tests/non_existing_csv_file.php
<?php

try 
{
    $shelf = Craur::createFromCsvFile(dirname(__FILE__) . '/fixtures/non_existing_books.csv', array(
        'book[].name',
    ));
    assert(false);
}
catch (Exception $exception)
{
    /*
     * Great, the file does not exist!
     */
}
Return current item: Craur