Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Make db/ use DbErrorKind. #770

Merged
merged 7 commits into from
Jun 27, 2018
Merged

Commits on Jun 27, 2018

  1. Make db/ use DbErrorKind.

    ncalexan committed Jun 27, 2018
    Configuration menu
    Copy the full SHA
    0e4991f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d6569a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    af005a7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b2249f1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ac1b0b1 View commit details
    Browse the repository at this point in the history
  6. Patch it all together: use MentatError at top-level.

    I elected to keep Tolstoy using `failure::Error`, because Tolstoy
    looks rather more like a high-level application (and will continue to
    do so for a while) than a production-ready mid- or low-level API.
    ncalexan committed Jun 27, 2018
    Configuration menu
    Copy the full SHA
    d31ec28 View commit details
    Browse the repository at this point in the history
  7. Expose sub-crate *Error types at top-level.

    We're not exposing a uniform API with `mentat::Result` yet, meaning
    that early consumers (e.g., the logins work for Mozilla Lockbox) need
    to wrap errors from all over the Mentat crate hierarchy.
    ncalexan committed Jun 27, 2018
    Configuration menu
    Copy the full SHA
    ae42784 View commit details
    Browse the repository at this point in the history