added fail fast feature
Issue #1 added ability to return specific error messages