you're missing a return in there :) otherwise you will always return errors.