docs: public static DMNKnowledgeBuilderError from(Resource resource, String namespace, DMNMessage m) {
          ResultSeverity rs = ResultSeverity.ERROR;
          switch (m.getLevel()) {
              case ERROR:
                  rs = ResultSeverity.ERROR;
                  break;
              case INFO:
                  rs = ResultSeverity.INFO;
                  break;
              case WARNING:
                  rs = ResultSeverity.WARNING;
                  break;
              default:
                  rs = ResultSeverity.ERROR;
                  break;
          }
          DMNKnowledgeBuilderError res = new DMNKnowledgeBuilderError(rs, resource, namespace, m.getMessage());
          res.dmnMessage = m;
          return res;
      }