W3cubDocs

/Symfony 4.1

InvalidOptionsException

class InvalidOptionsException extends InvalidArgumentException

Thrown when the value of an option does not match its validation rules.

You should make sure a valid value is passed to the option.