How to handle errors or failed computations in clojure?

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • anomalies

  • In this case i would typically use an exception which is caught at the layer that is calling into my handler, whether that's a standard ring handler or interceptor. I'd use exceptions similar to those describe in the cognitect anomalies library and map those to an error response at the level interacting with the request and calling my handler.

  • failjure

    Monadic error utilities for general use in Clojure(script) projects

  • https://github.com/adambard/failjure provides an error monad. I never use it.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • farolero

    Thread-safe Common Lisp style conditions and restarts for Clojure(Script) and Babashka.

  • conditions/restarts are also a possibility https://github.com/IGJoshua/farolero

  • anomalies-tools

    Discontinued Anomalies handling tools

  • There is also probably some tooling around anomalies, but I have never dipped into this area.

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