e is a zero-dependency micro library for dealing with errors on JVM. It aims to unify error handling across different JVM applications by providing an error model, ways to encode/decode errors and ways to use errors throughout your codebase.
It consists of different modules for different needs. You can find details, instructions and documentation about each of them on their own pages.
Latest Version of e | Java Version | Scala Version | Kotlin Version |
---|---|---|---|
3.0.1 | 21 | 3.4.2 | 2.0.0 |
- Modules
- Migrating from 1.x
- Examples and Use Cases
- Development and Testing
- Documentation
- Dependencies
- Releases
- Contributing
- License
Name | Platform | Details | Documentation |
---|---|---|---|
e-scala | Scala | Scala implementation | |
e-kotlin | Kotlin | Kotlin implementation | |
e-java | Java | Java implementation | |
e-circe | Scala | Extras for circe | |
e-play-json | Scala | Extras for play-json | |
e-zio | Scala | Extras for ZIO | |
e-gson | Java | Extras for gson |
There are some example projects using e and some documented use cases where e can be helpful. You can find them in examples folder.
e is built with SBT. You can use clean
, compile
, test
tasks for development and testing.
Documentation is managed with mdoc, check out docs folder for editing.
Versions of Scala, SBT, plugins and external dependencies are kept up-to-date by scala-steward.
e packages are published to Maven Central and they are versioned according to semantic versioning. Release process is managed by sbt-release.
All contributions are welcome, including requests to feature your project utilizing e. Please feel free to send a pull request. Thank you.
e is licensed with MIT License.