Implement fail fast behavior on bogus input.