Skip to main content

Errors

Git Source

Library containing all custom errors the protocol may revert with.

Errors

CallNotDelegateCall

Thrown when trying to perform a standard call to a function that allows only delegate calls.

error CallNotDelegateCall();

SablierV2ProxyPlugin_UnknownCaller

Thrown when the caller is an unknown address, which is not listed in the archive.

error SablierV2ProxyPlugin_UnknownCaller(address caller);

SablierV2ProxyTarget_BatchSizeZero

Thrown when trying to perform an action that requires the batch size to not be zero.

error SablierV2ProxyTarget_BatchSizeZero();

SablierV2ProxyTarget_CreditAmountMismatch

Thrown when trying to wrap and create a stream and the credit amount is not equal to msg.value.

error SablierV2ProxyTarget_CreditAmountMismatch(uint256 msgValue, uint256 creditAmount);