src/app/core/session/not-available-offline.error.ts

Description

Custom error indicating that some functionality (like file access) is not at the moment because the app is offline and that feature is not supported in offline mode.

Extends

Error

Relationships

Used by

No results matching.

Depends on

  • Error

Constructor

constructor(feature: string)
Parameters :
Name Type Optional Description
feature string No

The functionality that was attempted but is not available offline.

export class NotAvailableOfflineError extends Error {
  /**
   * @param feature The functionality that was attempted but is not available offline.
   */
  constructor(feature: string) {
    super("Functionality not available offline: " + feature);
  }
}

results matching ""

    No results matching ""