unknownTenantError

public static Error unknownTenantError(Message commandMessage, String errorText)

Creates an error for a command with missing tenant_id attribute in the CommandContext which is required in a multitenant application.