package ru.yandex.autodoc.wmtools.errors;

import ru.yandex.wmtools.common.error.IUserProblem;

/**
 * @author avhaliullin
 */
public enum CommonUserProblem implements IUserProblem {
    USER_HAVENT_ACCEPTED_LICENCE,
    USER_NOT_SIGNED_IN,
    NO_SUCH_USER_IN_SERVICE,
    USER_NOT_FOUND_IN_PASSPORT,
    ILLEGAL_VALUE_TYPE,
    ILLEGAL_PARAM_VALUE,
    REQUIRED_PARAM_MISSED,
    EMAIL_NOT_VERIFIED,
    MALFORMED_EMAIL,
    MALFORMED_URLS,
    TOO_MANY_VALUES,
    TOO_FEW_VALUES,

    VALUE_TOO_SHORT,
    VALUE_TOO_LONG,
    MALFORMED_IP,;

    @Override
    public Integer getId() {
        return ordinal();
    }
}
