Class ErrorEntity

java.lang.Object
com.atlassian.crowd.integration.rest.entity.ErrorEntity

public class ErrorEntity extends Object
Represents an error. All errors returned from REST resources should have the error entity in the response.
Since:
v2.1
  • Constructor Details

    • ErrorEntity

      public ErrorEntity(ErrorEntity.ErrorReason reason, String message)
      Constructs an error entity.
      Parameters:
      reason - reason for the error.
      message - message
  • Method Details