# Uses of Class
com.emc.documentum.rest.error.RestErrorBuilder

Packages that use RestErrorBuilder
Package
Description
com.emc.documentum.rest.error

- ## Uses of RestErrorBuilder in com.emc.documentum.rest.error

  Methods in com.emc.documentum.rest.error that return RestErrorBuilder
  Modifier and Type
  Method
  Description
  `RestErrorBuilder`
  RestErrorBuilder.`args(Object... args)`
  Set the message arguments for the corresponding message of the REST error code
  `RestErrorBuilder`
  RestErrorBuilder.`code(String code)`
  Set the REST error code
  `RestErrorBuilder`
  RestErrorBuilder.`details(List<String> details)`
  Set the details for the REST error.
  `RestErrorBuilder`
  RestErrorBuilder.`id(String id)`
  Set id for the REST error
  `RestErrorBuilder`
  RestErrorBuilder.`locale(Locale locale)`
  Set the localization for error message.
  `RestErrorBuilder`
  RestErrorBuilder.`status(int status)`
  Set the HTTP status code