Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typed catchers #2814

Draft
wants to merge 27 commits into
base: master
Choose a base branch
from
Draft

Typed catchers #2814

wants to merge 27 commits into from

Commits on Jun 20, 2024

  1. Initial brush

    the10thWiz committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    56e7fa6 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Working example

    the10thWiz committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    c0ad038 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2024

  1. Add error type to logs

    the10thWiz committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    99e2109 View commit details
    Browse the repository at this point in the history
  2. Major improvements

    - Catchers now carry `TypeId` and type name for collision detection
    - Transient updated to 0.3, with new derive macro
    - Added `Transient` or `Static` implementations for error types
    - CI should now pass
    the10thWiz committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    09c56c7 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2024

  1. Fix whitespace

    the10thWiz committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    b68900f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4cb3a3a View commit details
    Browse the repository at this point in the history
  3. Ensure examples pass CI

    the10thWiz committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    ac3a7fa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eaea6f6 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. tmp

    the10thWiz committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    1308c19 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Rework catch attribute

    See catch attribute docs for the new syntax.
    the10thWiz committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    f8c8bb8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dea224f View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2024

  1. Configuration menu
    Copy the full SHA
    7b8689c View commit details
    Browse the repository at this point in the history
  2. Update guide

    the10thWiz committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    fb796fc View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. Major changes

    - Add Error trait
    - Use Option<Box<dyn Error>>
    - Update Responder to return a result
      - Update all core implementations
    the10thWiz committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    af68f5e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a59cb04 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. Configuration menu
    Copy the full SHA
    6427db2 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    6d06ac7 View commit details
    Browse the repository at this point in the history
  2. Fix formatting issues

    the10thWiz committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    04ae827 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    99bba53 View commit details
    Browse the repository at this point in the history
  4. Major fixes for matching and responder

    - Update Responder derive to match new trait
    - Update lifecycle to deal with error types correctly
    - Update catcher rank to ignore type - now handled by lifecycle
    the10thWiz committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    f0f2342 View commit details
    Browse the repository at this point in the history
  5. Update to pass tests

    Still has several major missing features, but is back to passing CI.
    the10thWiz committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    84ba0b7 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Add FromError

    the10thWiz committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    6ab2d13 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b55b9c7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    61a4b44 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. Fix safety issues & comments

    - The previous `on_request` was unsafe, now uses a separate
      `filter_request` method to ensure `error` only contains
      immutable borrows of `Request`.
    - Added full safety comments and arguements to `erased`.
    - Added extra logic to upgrade, to prevent upgrading if an
      error has been thrown.
    the10thWiz committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    61cd326 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. Configuration menu
    Copy the full SHA
    3fbf1b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c263a6c View commit details
    Browse the repository at this point in the history