#### Description:

This attribute is a boolean value which controls how the astMapGet... functions behave if the requested key is not found in the KeyMap. If KeyError is zero (the default), then these functions will return zero but no error will be reported. If KeyError is non-zero, then the same values are returned but an error is also reported.

Type:

  Integer (boolean).

#### Applicability

##### KeyMap

All KeyMaps have this attribute.

#### Notes:

- When setting a new value for KeyError, the supplied value is propagated to any KeyMaps contained within the supplied KeyMap.

- When clearing the KeyError attribute, the attribute is also cleared in any KeyMaps contained within the supplied KeyMap.

Copyright (C) 2021 East Asian Observatory