cats-mtl-typed-errors
π―Skillfrom alexandru/skills
Enables typed error handling in Scala using Cats MTL Raise/Handle, supporting custom domain errors without EitherT transformers.
Part of
alexandru/skills(8 items)
Installation
npx skills add https://github.com/alexandru/skills --skill <skill-name>Skill Details
Scala typed errors with Cats MTL Raise/Handle and allow/rescue. Use for designing custom domain error types without EitherT, while keeping Cats Effect and ecosystem composition. Covers Scala 2/3 syntax and IO-only or F[_] usage.
More from this repository7
Manages safe resource lifecycle in Kotlin using Arrow's `Resource`, enabling deterministic acquisition, release, and composition of resources like files, streams, and connections.
Manages safe resource lifecycle in Scala using Cats Effect `Resource`, enabling composable and cancellation-safe resource handling.
Guides Kotlin Compose developers in hoisting state effectively, ensuring unidirectional data flow and clear state ownership across UI components.
Manages Scala side effects and concurrency using Cats Effect IO, providing safe, pure functional programming with resource handling and structured concurrency.
Enables robust, type-safe error handling in Kotlin using Arrow's Raise DSL and wrapper types for composable, expressive error management.
Enables reactive dataflow programming in Scala using Akka and Pekko Streams, with emphasis on testable components and selective stream usage.
Converts and migrates Kotlin and Java code between libraries, supporting seamless interoperability and code transformation.