@app-config/core
Advanced tools
/** Any generic error that comes directly from this package */ | ||
export declare class AppConfigError extends Error { | ||
} | ||
/** An error that can be recovered using $try */ | ||
export declare class Fallbackable extends AppConfigError { | ||
} | ||
/** When a ConfigSource cannot be found */ | ||
export declare class NotFoundError extends AppConfigError { | ||
export declare class NotFoundError extends Fallbackable { | ||
} | ||
@@ -7,0 +10,0 @@ /** Could not parse a string from a config source */ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ReservedKeyError = exports.FailedToSelectSubObject = exports.EncryptionEncoding = exports.InvalidEncryptionKey = exports.EmptyStdinOrPromptResponse = exports.SecretsRequireTTYError = exports.ValidationError = exports.WasNotObject = exports.BadFileType = exports.ParsingError = exports.NotFoundError = exports.AppConfigError = void 0; | ||
exports.ReservedKeyError = exports.FailedToSelectSubObject = exports.EncryptionEncoding = exports.InvalidEncryptionKey = exports.EmptyStdinOrPromptResponse = exports.SecretsRequireTTYError = exports.ValidationError = exports.WasNotObject = exports.BadFileType = exports.ParsingError = exports.NotFoundError = exports.Fallbackable = exports.AppConfigError = void 0; | ||
/** Any generic error that comes directly from this package */ | ||
@@ -8,4 +8,8 @@ class AppConfigError extends Error { | ||
exports.AppConfigError = AppConfigError; | ||
/** An error that can be recovered using $try */ | ||
class Fallbackable extends AppConfigError { | ||
} | ||
exports.Fallbackable = Fallbackable; | ||
/** When a ConfigSource cannot be found */ | ||
class NotFoundError extends AppConfigError { | ||
class NotFoundError extends Fallbackable { | ||
} | ||
@@ -12,0 +16,0 @@ exports.NotFoundError = NotFoundError; |
/** Any generic error that comes directly from this package */ | ||
export declare class AppConfigError extends Error { | ||
} | ||
/** An error that can be recovered using $try */ | ||
export declare class Fallbackable extends AppConfigError { | ||
} | ||
/** When a ConfigSource cannot be found */ | ||
export declare class NotFoundError extends AppConfigError { | ||
export declare class NotFoundError extends Fallbackable { | ||
} | ||
@@ -7,0 +10,0 @@ /** Could not parse a string from a config source */ |
/** Any generic error that comes directly from this package */ | ||
export class AppConfigError extends Error { | ||
} | ||
/** An error that can be recovered using $try */ | ||
export class Fallbackable extends AppConfigError { | ||
} | ||
/** When a ConfigSource cannot be found */ | ||
export class NotFoundError extends AppConfigError { | ||
export class NotFoundError extends Fallbackable { | ||
} | ||
@@ -7,0 +10,0 @@ /** Could not parse a string from a config source */ |
{ | ||
"name": "@app-config/core", | ||
"description": "Core logic for App Config", | ||
"version": "2.1.8", | ||
"version": "2.2.0", | ||
"license": "MPL-2.0", | ||
@@ -33,4 +33,4 @@ "author": { | ||
"dependencies": { | ||
"@app-config/logging": "^2.1.8", | ||
"@app-config/utils": "^2.1.8", | ||
"@app-config/logging": "^2.2.0", | ||
"@app-config/utils": "^2.2.0", | ||
"@iarna/toml": "3", | ||
@@ -42,3 +42,3 @@ "js-yaml": "^3.13.1", | ||
"devDependencies": { | ||
"@app-config/test-utils": "^2.1.8", | ||
"@app-config/test-utils": "^2.2.0", | ||
"@types/js-yaml": "3", | ||
@@ -45,0 +45,0 @@ "@types/lodash.merge": "4" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
111832
0.52%1614
0.81%