Should Warp Handlers be Infallible

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • warp

    A super-easy, composable, web server framework for warp speeds. (by seanmonstar)

  • I'm working on a basic Warp API and trying to figure out the best way to handle errors, but there doesn't seem to be a set in stone method.

  • pka_site_backend

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • tracing

    Application level tracing for Rust.

  • If you define an error type, like ApiError that impl's Reply, then this becomes pretty ergonomic. The only real pain point that I have found thus far is that tracing::instrument does not work with such handlers. See related issue.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts