assertj-result4j
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.github.sviperll</groupId>
<artifactId>assertj-result4j</artifactId>
<version>1.2.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.sviperll</groupId>
<artifactId>assertj-result4j</artifactId>
<version>1.2.0</version>
<name>assertj-result4j</name>
<description>The project provides Result-type similar to Result-type in Rust that
allows to return either successful result or otherwise some kind of error.
In Java, the native way of reporting errors are exceptions, either checked or unchecked.
You do not need Result-type most of the time in Java-code, where
you can directly throw exceptions.
But there are situations, where more functional-style is used.
In such situations pure-functions are expected that throw no exceptions.
Handling exception in such situations can be cumbersome and require a lot of boilerplate code.
Result-type and associated helper-classes help with exception handling and
allow to write idiomatic functional code that can interact with methods that throw exceptions.
Result-type provides a way to pass error information 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 caught and propagated as
errors in Result-type and then rethrown again later in the control-flow.</description>
<url>https://github.com/sviperll/result4j/assertj-result4j</url>
<licenses>
<license>
<name>Apache-2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<developers>
<developer>
<id>sviperll</id>
<name>Victor Nazarov</name>
<email>asviraspossible@gmail.com</email>
</developer>
</developers>
<scm>
<connection>scm:git:git@github.com:sviperll/result4j.git/assertj-result4j/assertj-result4j</connection>
<developerConnection>scm:git:git@github.com:sviperll/result4j.git/assertj-result4j/assertj-result4j</developerConnection>
<tag>result4j-base-1.2.0</tag>
<url>git@github.com:sviperll/result4j.git/assertj-result4j</url>
</scm>
<dependencies>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.26.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.github.sviperll</groupId>
<artifactId>result4j</artifactId>
<version>1.2.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>