Swaplace
  • About Swaplace
    • Manifesto
    • Overview
    • Roadmap
    • Tokenomics (🚧)
    • Start swaping with Swaplace
    • Marketplace
    • Call for contributors
      • ✧ How to start
      • ✧ Incentives
    • Community & Links
  • Developers
    • Guides
      • ✧ Overview
      • ✧ Setting up your local environment
      • ✧ Preparing
        • Encode config
        • Encode ERC1155 Asset
        • Make Swap
      • ✧ Creating
        • ERC20/ERC721
        • ERC1155
        • Native Ether
      • ✧ Accepting
      • ✧ Canceling
    • Technical Reference
      • ✧ Overview
      • ✧ Swaplace
      • ✧ SwapFactory
      • ✧ Interfaces
        • ✧ IERC165
        • ✧ IErrors
        • ✧ ISwap
        • ✧ ISwapFactory
        • ✧ ISwaplace
    • Deployments
Powered by GitBook
On this page
  • InvalidAddress()
  • InvalidExpiry()
  • InvalidValue()
  • InvalidCall()
  1. Developers
  2. Technical Reference
  3. ✧ Interfaces

✧ IErrors

Previous✧ IERC165Next✧ ISwap

Last updated 12 months ago

Errors only interface for the {Swaplace} implementations.

InvalidAddress()

error InvalidAddress()

Displayed when the caller is not the owner of the swap.

InvalidExpiry()

error InvalidExpiry()

Displayed when the expiry date is in the past.

InvalidValue()

error InvalidValue()

Displayed when the msg.value doesn't match the swap request.

InvalidCall()

error InvalidCall()

Displayed when a low-level call failed to execute.

Source Code