Class ErrorDTO
java.lang.Object
org.wso2.carbon.apimgt.rest.api.devops.dto.ErrorDTO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A detail description about the error message.booleanerror(List<ErrorListItemDTO> error) If there are more than one error list them out.@NotNull LonggetCode()@Valid List<ErrorListItemDTO> getError()@NotNull StringinthashCode()Error message.Preferably an url with more details about the error.voidvoidsetDescription(String description) voidsetError(List<ErrorListItemDTO> error) voidsetMessage(String message) voidsetMoreInfo(String moreInfo) toString()
-
Constructor Details
-
ErrorDTO
public ErrorDTO()
-
-
Method Details
-
code
-
getCode
-
setCode
-
message
Error message. -
getMessage
-
setMessage
-
description
A detail description about the error message. -
getDescription
-
setDescription
-
moreInfo
Preferably an url with more details about the error. -
getMoreInfo
-
setMoreInfo
-
error
If there are more than one error list them out. For example, list out validation errors by each field. -
getError
-
setError
-
equals
-
hashCode
public int hashCode() -
toString
-