Error handle for compiling into Ruby