UNPKG

enka-network-api

Version:

Enka-network API wrapper for Genshin Impact.

13 lines (12 loc) 479 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AssetsNotFoundError = void 0; class AssetsNotFoundError extends Error { constructor(category, id) { super(`${category} ${id} was not found. Try to update cached assets with EnkaClient#cachedAssetsManager#fetchAllContents`); this.name = "AssetsNotFoundError"; this.category = category; this.id = id; } } exports.AssetsNotFoundError = AssetsNotFoundError;