Class: Error

PSPDFKit.Error

A PSPDFKit.Error indicates a problem with PSPDFKit. It is a subclass of and behaves like a regular JavaScript error.

Constructor

new PSPDFKit.Error()

PSPDFKit related error.

Example
try {
    PSPDFKit.someFunctionThatFails()
  } catch (error) {
    error instanceof PSPDFKit.Error // => true
    error.message // Useful error message
  }

Extends

  • Error