}
if (current == NULL)
- return NULL;
+ THROW2(not_found_error, 0, "key %.*s not found", key_len, key);
return current->content;
}
}
if (current == NULL)
- THROW2(not_found_error, 0, "key %.*s not found", key_len, key);
+ return NULL;
return current->content;
}