[OptionsResolver] replaced some exception messages

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

In accordance with renaming of methods.
Optional was on purpose because defined doesn't say that it has no default