![JAR search and dependency download from the Maven repository](/logo.png)
com.yahoo.elide.jsonapi.JsonApiErrorMapper Maven / Gradle / Ivy
/*
* Copyright 2023, the original author or authors.
* Licensed under the Apache License, Version 2.0
* See LICENSE file in project root for terms.
*/
package com.yahoo.elide.jsonapi;
import com.yahoo.elide.ElideError;
import com.yahoo.elide.jsonapi.models.JsonApiError;
/**
* Maps {@link ElideError} to {@link JsonApiError}.
*/
public interface JsonApiErrorMapper {
/**
* Maps {@link ElideError} to {@link JsonApiError}.
*
* @param error the {@link ElideError} to map
* @return the mapped {@link JsonApiError}
*/
JsonApiError toJsonApiError(ElideError error);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy