<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Exception handler return value purpose in _CODESYS 3.5</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/40aab21b48/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/40aab21b48/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/40aab21b48/</id><updated>2026-08-31T15:43:24.676000Z</updated><subtitle>Recent posts to Exception handler return value purpose in _CODESYS 3.5</subtitle><entry><title>Exception handler return value purpose in _CODESYS 3.5</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/40aab21b48/?limit=25#34ff" rel="alternate"/><published>2026-08-31T15:43:24.676000Z</published><updated>2026-08-31T15:43:24.676000Z</updated><author><name>nixola</name><uri>https://forge.codesys.com/u/nixola/</uri></author><id>https://forge.codesys.com9a61bd3fd579d1e4e873285c89bec6890fccbce7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
I was trying to figure out how to correctly handle system exceptions in a CODESYS project, but either the documentation falls short, or I'm unable to find the proper docs.&lt;br/&gt;
I know I can register a function as an exception handler via &lt;code&gt;Task Configuration&lt;/code&gt; &amp;gt; &lt;code&gt;System Events&lt;/code&gt; &amp;gt; &lt;code&gt;Add Event Handler&lt;/code&gt;, which will create a function with the correct interface; I am, however, unable to figure out what the returned DWORD is supposed to be, if anything.&lt;br/&gt;
Is the interface for the exception handler documented and, if so, where can I find it?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>