Registry / serialization / problem

problem

JSON →
library0.27.1javamavenunverified

Implements the application/problem+json draft for representing HTTP API errors in a standardized format.

<dependency> <groupId>org.zalando</groupId> <artifactId>problem</artifactId> <version>0.27.1</version> </dependency>
INSTALL
IMPORT
SIG · PROBLEM
P
problem
serializationjavav0.27.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Problem
org.zalando.problem.Problem

Creates a Problem instance representing a 404 Not Found error.

import org.zalando.problem.Problem; import org.zalando.problem.Status; public class Example { public static void main(String[] args) { Problem problem = Problem.builder() .withTitle("Not Found") .withStatus(Status.NOT_FOUND) .withDetail("Resource not found") .build(); System.out.println(problem); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.27.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
problem — mvn dependency:get problem · libregistry