Since we require that the API key be of a Sensitive() type and we did
not have a good error message when the user provided us a value of a
different type, we now show a friendlier message early as to what is
wrong with the passed parameter.
What ticket does this PR close?
Connected to #232
Checklists
Change log
[x] The CHANGELOG has been updated, or
[ ] This PR does not include user-facing changes and doesn't require a CHANGELOG update
Test coverage
[x] This PR includes new unit and integration tests to go with the code changes, or
[ ] The changes in this PR do not require tests
Documentation
[ ] Docs (e.g. READMEs) were updated in this PR, and/or there is a follow-on issue to update docs, or
[x] This PR does not require updating any documentation
Since we require that the API key be of a Sensitive() type and we did not have a good error message when the user provided us a value of a different type, we now show a friendlier message early as to what is wrong with the passed parameter.
What ticket does this PR close?
Connected to #232
Checklists
Change log
Test coverage
Documentation
README
s) were updated in this PR, and/or there is a follow-on issue to update docs, or