<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"> > <span style="background-color: rgba(255, 255, 255, 0);">If possible, the logic that maps error codes</span><div><span style="background-color: rgba(255, 255, 255, 0);"> > onto error messages should be located in</span></div><div><span style="background-color: rgba(255, 255, 255, 0);"> > </span><span style="background-color: rgba(255, 255, 255, 0);">the module where the error codes are defined.</span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div><span style="background-color: rgba(255, 255, 255, 0);">Agreed in general. But it felt a little weird to move this</span></div><div><span style="background-color: rgba(255, 255, 255, 0);">all the way down to </span><span style="background-color: rgba(255, 255, 255, 0);">the inner core, which is prelinked.</span></div><div><span style="background-color: rgba(255, 255, 255, 0);">In </span><span style="background-color: rgba(255, 255, 255, 0);">this </span><span style="background-color: rgba(255, 255, 255, 0);">one case, </span><span style="background-color: rgba(255, 255, 255, 0);">the (outer core) module Oberon was</span></div><div><span style="background-color: rgba(255, 255, 255, 0);">chosen, which can more easily be replaced </span><span style="background-color: rgba(255, 255, 255, 0);">(although in</span></div><div><span style="background-color: rgba(255, 255, 255, 0);">in EO all modules can be </span><span style="background-color: rgba(255, 255, 255, 0);">dynamically replaced on the </span><span style="background-color: rgba(255, 255, 255, 0);">fly -</span></div><div><span style="background-color: rgba(255, 255, 255, 0);">even </span><span style="background-color: rgba(255, 255, 255, 0);">inner core modules - while the system is running).</span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);"> > If all error codes have the same end result in the</span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);"> > clients, then you only need to export Modules.noerr.</span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);"><br></span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">Not so sure about that. Modules.Check (does reference</span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">checking) also use error codes 0, 1, 2, ... These would need</span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">to be changed to higher values then. Doable though.</span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);"><br></span></font></pre></div></body></html>