All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gitlab.oliverlj.jsonapi.configuration.converters.ErrorConverter Maven / Gradle / Ivy

Go to download

A spring boot starter which brings json api converter (https://github.com/jasminb/jsonapi-converter) for your great spring project

The newest version!
package com.gitlab.oliverlj.jsonapi.configuration.converters;

import com.github.jasminb.jsonapi.models.errors.Error;

/**
 * Convert an {@link Object} in a {@link Error}.
 * 
 * @author Olivier LE JACQUES ([email protected])
 *
 * @param  the source of error
 */
public interface ErrorConverter {

  Error convert(S source);

}