Source code for multiversx_sdk.network_providers.errors

from typing import Any


[docs] class GenericError(Exception): def __init__(self, url: str, data: Any): super().__init__(f"Url = [{url}], error = {data}") self.url = url self.data = data
[docs] class ExpectedTransactionStatusNotReachedError(Exception): def __init__(self) -> None: super().__init__("The expected transaction status was not reached")
[docs] class ExpectedAccountConditionNotReachedError(Exception): def __init__(self) -> None: super().__init__("The expected account condition was not reached")
[docs] class TransactionFetchingError(Exception): def __init__(self, url: str, error: Any): super().__init__(f"Couldn't fetch transaction on url = [{url}], error = [{error}]")