All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.tarantool.driver.exceptions.errors.ErrorCode Maven / Gradle / Ivy

Go to download

Tarantool Cartridge driver for Tarantool versions 1.10+ based on Netty framework

There is a newer version: 0.14.0
Show newest version
package io.tarantool.driver.exceptions.errors;

/**
 * Error codes used to classify errors
 * Tarantool error codes
 *
 * @author Oleg Kuznetsov
 */
enum ErrorCode {
    NO_SUCH_PROCEDURE(33L), ACCESS_DENIED(42L), NO_CONNECTION(77L), TIMEOUT(78L);
    private final Long code;

    ErrorCode(Long code) {
        this.code = code;
    }

    public Long getCode() {
        return code;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy