public class ErrorEntity extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ErrorEntity.ErrorReason |
Constructor and Description |
---|
ErrorEntity(ErrorEntity.ErrorReason reason,
String message)
Constructs an error entity.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
ErrorEntity.ErrorReason |
getReason() |
public ErrorEntity(ErrorEntity.ErrorReason reason, String message)
reason
- reason for the error.message
- messagepublic ErrorEntity.ErrorReason getReason()
public String getMessage()
Copyright © 2020 Atlassian. All rights reserved.