Method code for $foundation.all_defined_msgs()

[Turn off line numbering]
  1: var msgs, m, a;
  2: 
  3: msgs = #[];
  4: for a in ([this()] + ancestors()) {
  5:     if (a == definer())
  6:         break;
  7:     catch any
  8:         msgs = dict_union(msgs, a.defined_msgs());
  9: }
 10: return msgs;

// Created 27-Mar-1995 as a part of ColdCore, see: @help Credit

Tlon