requireStorableTenant

fun requireStorableTenant(contextId: <Error class: unknown class>)

Rejects a tenant this store cannot key on, before anything is written.

Throws

if the tenant id is longer than MAX_CONTEXT_ID_LENGTH. The message reports the length, not the value: a tenant id is a host identifier and does not belong in a log line.