Currently we do not differentiate between 401 and 402 errors:
|
when /^401/, /^402/ |
|
AuthError |
Raising AuthError for 401 class of errors is fine, but for 402 we should probably raise something like LanguageSelectionError, see: https://developer.twingly.com/resources/search/#4xx-client-errors