TO0103 - npruehs/tome-editor GitHub Wiki

"The key type ... of the map type ... does not exist."

Summary

  • Name: MapKeyTypeDoesNotExist
  • Code: TO0103
  • Category: Model Integrity
  • Severity: Error
  • Since: 0.5

Each custom map type must specify exactly one key type of the items it can hold, either a built-in type or a custom type. This type is required for providing the correct windows and controls when modifying record fields of these map types, and for serializing and exporting project data.

Example

The following steps generate this type of error:

  1. Create a new custom type.
  2. Create a new custom map type using that custom type as key type.
  3. Delete the custom type.

How To Fix

Either

  • change the key type of the map to an existing type, or
  • create a custom type with the name of the type referenced by the map.