Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error handling in getServiceClassAuthOrigin
Enhance reliability by throwing a TypeError when a service key definition is missing. It's common for a key to be missing and might require the developer that writes tests to provide a fake on that fits the examples used. Key changes: - Added a check for missing service key definitions in getServiceClassAuthOrigin. - Throws a TypeError with a clear message if the key is not found. - Guides devs to use an override if needed which is often.
- Loading branch information