Error::custom should forward the error message to the enveloping type

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Rust Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Right now if i create an error for example let err = mongotune_core::Error::MongoDBCommand(mongodb::error::Error::custom("Lorem ipsum".to_string())) then the "Lorem ipsum" does not show up on err.to_string(), just the "custom error" as message.
      The mongodb::error::Error::custom should forward it's message when enveloped into an Error type.

            Assignee:
            Isabel Atkinson
            Reporter:
            Wolfee Farkas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: