Package fr.gouv.vitam.functional.administration.utils

# Class ResponseErrorUtils

java.lang.Object
fr.gouv.vitam.functional.administration.utils.ResponseErrorUtils

public class ResponseErrorUtils extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ResponseErrorUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static VitamError<SchemaResponse>`
  `getErrorEntity(jakarta.ws.rs.core.Response.Status status, String message, String context)`
  Construct the error following input

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ResponseErrorUtils

    public ResponseErrorUtils()

- ## Method Details

  - ### getErrorEntity

    public static VitamError<SchemaResponse> getErrorEntity(jakarta.ws.rs.core.Response.Status status, String message, String context)
    Construct the error following input
    Parameters:
      `status` - Http error status
      `message` - The functional error message, if absent the http reason phrase will be used instead
    Returns: