Dexie Logo

    Dexie.InvalidTableError

    Inheritance Hierarchy

    Description

    Happens when trying to access a table that does not exist or is not part of current transaction.

    Sample using Promise.catch()

    doSomeDatabaseWork()
      .then(() => {
        // Success
      })
      .catch((e) => {
        if (e?.name === 'InvalidTableError') {
          // Failed with InvalidTableError
          console.error('InvalidTable error: ' + e.message);
        }
      });
    

    Properties

    nameWill always be Dexie.errnames.InvalidTable === "InvalidTableError"
    messageDetailed message
    inner?Inner exception instance (if any)
    stackCan be present if the error was thrown. If signaled, there wont be any call stack.

    © 2014-2025 Awarica AB

    Made with love for great people.

    Read Terms & Conditions and Privacy Policy.

    We recently launched a new website! Missing something? Visit the old site. Your feedback is welcome!