Fixes #62

o More descriptive error message for missing cache type.