Liking cljdoc? Tell your friends :D

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

1.0.0 - 2026-02-13

Added

  • Initial release of anomaly library
  • Standardized error categories based on Cognitect anomalies
  • Support for all anomaly categories: unavailable, interrupted, incorrect, forbidden, unauthorized, not-found, conflict, fault, busy, unsupported
  • HTTP status code mapping for each anomaly category
  • Convenience functions for throwing anomalies (not-found!, forbidden!, incorrect!, etc.)
  • Predicate functions for anomaly detection (anomaly?, client-error?, server-error?)
  • http-status function to get HTTP status code from anomaly maps

Can you improve this documentation? These fine people already did:
Karol Wójcik & Karol Wojcik
Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close