Error handling for eval
Error handling for primitives and apply