package com.writeoff.common.exception;

public final class ErrorCodes {
    private ErrorCodes() {
    }

    public static final int VALIDATION_ERROR = 10001;
    public static final int IDEMPOTENCY_CONFLICT = 10002;
    public static final int RESOURCE_NOT_FOUND = 10003;
    public static final int RATE_LIMITED = 10005;

    public static final int UNAUTHORIZED = 11001;
    public static final int TOKEN_EXPIRED = 11002;
    public static final int SESSION_INVALID = 11003;
    public static final int ACCOUNT_EXPIRED = 11004;
    public static final int REFRESH_TOKEN_INVALID = 11005;
    public static final int REFRESH_TOKEN_EXPIRED = 11006;
    public static final int REFRESH_RISK_REJECTED = 11007;

    public static final int NO_PERMISSION = 20001;
    public static final int NO_DATA_PERMISSION = 20002;

    public static final int INVALID_STATE = 30001;
    public static final int TASK_ALREADY_PROCESSED = 30003;

    public static final int PAYMENT_STATE_INVALID = 40003;
    public static final int PAYMENT_LOCKED = 40004;

    public static final int INTERNAL_ERROR = 90001;
}
