Record validator. Validation is performed against a record with a string key type and throws an error if the key is not found.
Constructor.
Type name for error message.
Record in which to look up keys.
Get the type name.
Get the record.
Validate a key by looking it up in the record.
Record key.
Record validator. Validation is performed against a record with a string key type and throws an error if the key is not found.