Syntax: ERROR.TYPE(errorValue)
Returns a number corresponding to the error type of the supplied argument.
114115116117118119120121122123124
reply); } @Override protected void handleError(ErrorMessage error, Channel channel) { ErrorType errType = ErrorType.GENERIC; for (ErrorType e : ErrorType.values()) { if (e.getValue() == error.getError().getErrorCode()) { errType = e; break; }