Update Ccache.h

add error handler for key and data put