Skip to main content

Errors

All license errors are ReductoLicenseError. The message starts with Reducto license <status>, says what to do, and ends with [<code>]. To find them in your code, check error.name === "ReductoLicenseError". Use error.code to select what to show. It is a stable string and does not change when the message text changes. The code is also at the end of the message. If only the message gets to your code (for example, from a worker), find the code with /\[(REDUCTO_LICENSE_[A-Z]+)\]$/. error.status has the status.

Console warnings

The package shows each warning one time. If a page uses @reductoai/docx and @reductoai/docx-editor, you can see the same warning two times.

Installs

Network problems you do not need to fix

  • A failed usage report is sent again later. A short network problem does not stop the package.
  • A short outage at Reducto does not stop the package, because each good check lasts 65 minutes.