Update js_bindings_ccbreader.cpp

method name is error