Search in sources :

Example 6 with EzyErrorParams

use of com.tvd12.ezyfoxserver.response.EzyErrorParams in project ezyfox-server by youngmonkeys.

the class EzyAccessAppController method newAccessAppErrorResponse.

protected EzyResponse newAccessAppErrorResponse(EzyIAccessAppError error) {
    EzyErrorParams params = new EzyErrorParams();
    params.setError(error);
    return new EzyAccessAppErrorResponse(params);
}
Also used : EzyErrorParams(com.tvd12.ezyfoxserver.response.EzyErrorParams) EzyAccessAppErrorResponse(com.tvd12.ezyfoxserver.response.EzyAccessAppErrorResponse)

Aggregations

EzyErrorParams (com.tvd12.ezyfoxserver.response.EzyErrorParams)6 EzyAccessAppErrorResponse (com.tvd12.ezyfoxserver.response.EzyAccessAppErrorResponse)2 EzyRequestAppErrorResponse (com.tvd12.ezyfoxserver.response.EzyRequestAppErrorResponse)2 BaseTest (com.tvd12.test.base.BaseTest)2 Test (org.testng.annotations.Test)2 EzyErrorResponse (com.tvd12.ezyfoxserver.response.EzyErrorResponse)1 EzyLoginErrorResponse (com.tvd12.ezyfoxserver.response.EzyLoginErrorResponse)1