<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Ian,<div class=""><br class=""></div><div class="">Nope, it is the only definition - I also actually have tried to fully qualify it as Z.Transaction.Error.NotFound without any difference both at the throw and catch sides.</div><div class=""><br class=""></div><div class="">I do believe the compiler would have warned if the enum was ambigious also...</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class="">Joakim</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 31 maj 2016, at 17:23, Ian Terrell <<a href="mailto:ian.terrell@gmail.com" class="">ian.terrell@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Is this a naming collision? Do multiple modules defined a Transaction.Error.NotFound?<div class=""><br class=""><div class="">For instance, in your passing case, is the <span style="font-size:12.8px" class="">Transaction.Error.NotFound that is caught a Z.Transaction.Error.NotFound, or one in your local app module (i.e. CLI.Transaction.Error.NotFound).</span></div></div><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8px" class="">If your CLI module has that defined, then that is what you are looking for in the catch statement. And since a Z.Transaction is not a CLI.Transaction it fails to catch it appropriately.</span></div><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8px" class="">Just a thought.</span></div><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8px" class="">Ian</span></div></div><div class="gmail_extra"><br class=""></div></div></blockquote></div><br class=""></div></body></html>