Stream builder error for invalid context is unfriendly

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If you build an incomplete document with the stream builder, and you try to use it as a view, the error you get is unfriendly:

      auto builder = document{} << "key" << "value" << "key";
      auto view = builder.view();
      
      > "not viewable"
      

            Assignee:
            Samantha Ritter (Inactive)
            Reporter:
            Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: