LangX error handling