<?php

declare(strict_types=1);

namespace MultipleChain\Enums;

enum ErrorType: string
{
    case RPC_TIMEOUT = 'RPC_TIMEOUT';
    case RPC_REQUEST_ERROR = 'RPC_REQUEST_ERROR';
    case RPC_ACCESS_DENIED = 'RPC_ACCESS_DENIED';
    case UNACCEPTED_CHAIN = 'UNACCEPTED_CHAIN';
    case UNAUTHORIZED_ADDRESS = 'UNAUTHORIZED_ADDRESS';
    case INSUFFICIENT_BALANCE = 'INSUFFICIENT_BALANCE';
    case INVALID_AMOUNT = 'INVALID_AMOUNT';
    case INVALID_ADDRESS = 'INVALID_ADDRESS';
    case INVALID_PRIVATE_KEY = 'INVALID_PRIVATE_KEY';
    case INVALID_PUBLIC_KEY = 'INVALID_PUBLIC_KEY';
    case INVALID_TRANSACTION_ID = 'INVALID_TRANSACTION_ID';
    case PROVIDER_IS_REQUIRED = 'PROVIDER_IS_REQUIRED';
    case PROVIDER_IS_NOT_INITIALIZED = 'PROVIDER_IS_NOT_INITIALIZED';
    case PROVIDER_IS_ALREADY_INITIALIZED = 'PROVIDER_IS_ALREADY_INITIALIZED';
    case TRANSACTION_CREATION_FAILED = 'TRANSACTION_CREATION_FAILED';
    case TRANSACTION_NOT_FOUND = 'TRANSACTION_NOT_FOUND';
}
