| Package | Description |
|---|---|
| org.wso2.carbon.auth.rest.api.commons.dto | |
| org.wso2.carbon.auth.rest.api.commons.util |
| Modifier and Type | Method and Description |
|---|---|
ErrorDTO |
ErrorDTO.code(Long code) |
ErrorDTO |
ErrorDTO.description(String description) |
ErrorDTO |
ErrorDTO.message(String message) |
ErrorDTO |
ErrorDTO.moreInfo(List<ErrorListItemDTO> moreInfo) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorDTO |
RestApiUtil.getErrorDTO(org.wso2.carbon.auth.core.exception.ExceptionCodeHandler exceptionCodeHandler)
Returns an errorDTO based on a provided ExceptionCodeHandler
|
static ErrorDTO |
RestApiUtil.getInternalServerErrorDTO()
Returns an Internal Server Error DTO
|
Copyright © 2018 WSO2. All rights reserved.