super(Response.status(400).entity(new AuthResponse(code, params)).type(MediaType.APPLICATION_JSON_TYPE).build());
authResponse = new AuthResponse(code, params);
}
public MWException(Throwable e,ErrorCode code, Object... params) {
super(e,Response.status(400).entity(new AuthResponse(code, params)).type(MediaType.APPLICATION_JSON_TYPE).build());
authResponse = new AuthResponse(code, params);
}