Skip to main content

Errors

Git Source

Author: Euler Labs (https://www.eulerlabs.com/)

This contract implements the error messages for the Ethereum Vault Connector.

Errors

EVC_NotAuthorized

Error for when caller is not authorized to perform an operation.

error EVC_NotAuthorized();

EVC_OnBehalfOfAccountNotAuthenticated

Error for when no account has been authenticated to act on behalf of.

error EVC_OnBehalfOfAccountNotAuthenticated();

EVC_InvalidOperatorStatus

Error for when an operator's to be set is no different from the current one.

error EVC_InvalidOperatorStatus();

EVC_InvalidNonce

Error for when a nonce is invalid or already used.

error EVC_InvalidNonce();

EVC_InvalidAddress

Error for when an address parameter passed is invalid.

error EVC_InvalidAddress();

EVC_InvalidTimestamp

Error for when a timestamp parameter passed is expired.

error EVC_InvalidTimestamp();

EVC_InvalidValue

Error for when a value parameter passed is invalid or exceeds current balance.

error EVC_InvalidValue();

EVC_InvalidData

Error for when data parameter passed is empty.

error EVC_InvalidData();

EVC_LockdownMode

Error for when an action is prohibited due to the lockdown mode.

error EVC_LockdownMode();

EVC_PermitDisabledMode

Error for when permit execution is prohibited due to the permit disabled mode.

error EVC_PermitDisabledMode();

EVC_ChecksReentrancy

Error for when checks are in progress and reentrancy is not allowed.

error EVC_ChecksReentrancy();

EVC_ControlCollateralReentrancy

Error for when control collateral is in progress and reentrancy is not allowed.

error EVC_ControlCollateralReentrancy();

EVC_ControllerViolation

Error for when there is a different number of controllers enabled than expected.

error EVC_ControllerViolation();

EVC_SimulationBatchNested

Error for when a simulation batch is nested within another simulation batch.

error EVC_SimulationBatchNested();

EVC_RevertedBatchResult

Auxiliary error to pass simulation batch results.

error EVC_RevertedBatchResult(
IEVC.BatchItemResult[] batchItemsResult,
IEVC.StatusCheckResult[] accountsStatusResult,
IEVC.StatusCheckResult[] vaultsStatusResult
);

EVC_BatchPanic

Panic error for when simulation does not behave as expected. Should never be observed.

error EVC_BatchPanic();

EVC_EmptyError

Error for when an empty or undefined error is thrown.

error EVC_EmptyError();