Skip to main content
Version: 2.x

Function: isBursarError()

isBursarError(error): error is BursarError

Defined in: javascript/src/errors.ts:342

Cross-package-copy-safe check for an SDK error. instanceof alone fails when an application installs two copies of the package.

Parameters

error

unknown

Returns

error is BursarError