// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

/// @dev Custom errors shrink hub runtime bytecode vs string reverts (EIP-170).
library CheckpointErrors {
    error Paused();
    error BadRange();
    error UnknownBatch();
    error ZeroModule();
    error ExtensionExists();
    error ExtensionMissing();
    error BatchSize();
    error CcipDisabled();
    error OnlyRouter();
    error BadSelector();
    error BadEmitter();
    error BatchDone();
    error BadChain();
    error BatchOrder();
    error PrevBatch();
    error BadBlocks();
    error TxCount();
    error IncompleteBatch();
    error PaymentsRoot();
    error StateRoot();
    error BlockHash();
    error Signatures();
    error Replay();
    error ZeroTx();
    error TxSeen();
    error SubmitterSigLen();
    error AttestSigner();
    error SubmitterRole();
    error BelowMinPayment();
    error LeavesEmpty();
    error RootMismatch();
    error CalldataOnlyDisabled();
}
