MVN

com.github.sviperll : result4j

Maven & Gradle

Jan 26, 2024
53 stars

result4j · The project provides Result-type similar to Result-type in Rust that allows to return either successfull result or otherwise some kind of error. In Java native way of reporting errors are exceptions, either checked or unchecked, but Result-type provides a way to pass error enformation as a first-class value through the code written in functional style. Routines are provided for interoperability of normal code that uses exception and functional code that uses Result-type, so that exceptions can be catched and propagated as errors in Result-type and then rethrown again later in the control-flow.

<dependency>
    <groupId>com.github.sviperll</groupId>
    <artifactId>result4j</artifactId>
    <version>1.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.github.sviperll : result4j to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.0
  • Latest Release Candidate: 1.0-rc.1

All Versions

Choose a version of com.github.sviperll : result4j to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.0
result4j-1.0
result4j-1.0-rc.1

How to add a dependency to Maven

Add the following com.github.sviperll : result4j maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.github.sviperll</groupId>
    <artifactId>result4j</artifactId>
    <version>1.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.github.sviperll : result4j gradle dependency to your build.gradle file:

implementation 'com.github.sviperll:result4j:1.0'

Gradle Kotlin DSL: Add the following com.github.sviperll : result4j gradle kotlin dependency to your build.gradle.kts file:

implementation("com.github.sviperll:result4j:1.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.github.sviperll : result4j sbt scala dependency to your build.sbt file:

libraryDependencies += "com.github.sviperll" % "result4j" % "1.0"

Advertisement

Dependencies from Group

Sep 13, 2016
10 usages
5 stars
Aug 11, 2016
5 usages
Aug 27, 2013
5 usages
Sep 05, 2014
5 usages
5 stars
Sep 13, 2016
4 usages
5 stars

Discover Dependencies

Jan 26, 2024
53 stars
Jan 26, 2024
30 stars
Jan 26, 2024
30 stars
Jan 26, 2024
30 stars
Jan 26, 2024
30 stars
Jan 26, 2024
30 stars
Jan 26, 2024
30 stars
Jan 26, 2024
30 stars
Jan 26, 2024
30 stars
Jan 26, 2024
30 stars