TethrTethr
Guide
Capability Report
Playground
API
  • English
  • 日本語
GitHub
Guide
Capability Report
Playground
API
  • English
  • 日本語
GitHub
  • Function: isUserCancelledError()

Function: isUserCancelledError()

isUserCancelledError(err): boolean

Defined in: core/src/TethrManager.ts:17

Whether a DOMException from a permission/selection prompt means the user cancelled (dismissed the USB picker, denied/closed the camera prompt) rather than a real failure worth surfacing.

Parameters

err

unknown

Returns

boolean

Edit this page