Private preview: this is rolling out and may not be available on your account yet.
isSumvinError, then narrow.
The two never overlap, so check
isSumvinError first and then each one.
Kinds of request failure
ApiError.kind is one of:
Branch on codes, not messages
message is a diagnostic for developers. Build what your users see from errorCode, status and kind. The codes are listed in Errors.