memecreator error handling

Signed-off-by: Thejasvi Bhat <thejasvi@smashed.in>