Socket
Socket
Sign inDemoInstall

@snyk/error-catalog-nodejs-public

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snyk/error-catalog-nodejs-public - npm Package Compare versions

Comparing version 5.21.5 to 5.21.6

2

package.json
{
"name": "@snyk/error-catalog-nodejs-public",
"version": "5.21.5",
"version": "5.21.6",
"type": "commonjs",

@@ -5,0 +5,0 @@ "author": "snyk.io",

@@ -310,1 +310,16 @@ /*

}
/**
* @class
* @name CreateVersioningSchemaFailError
* @description The provided versioning schema is invalid and image could therefor not be created. Provide a properly formatted versioning schema and try again.
* @summary Unable to create versioning schema
* @category CustomBaseImages
* @param {string} details the specific details that causes this error
* @param {Classification} classification the error classification determining if the error is user-actionable or not
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
export declare class CreateVersioningSchemaFailError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
}

@@ -18,3 +18,3 @@ /*

Object.defineProperty(exports, "__esModule", { value: true });
exports.ImageCollectionRetrievalFailedError = exports.PropertiesRetrievalFailedError = exports.ImageUpdateFailedError = exports.ImageDoesNotExistError = exports.ImageNotFoundError = exports.VersioningSchemaInapplicableError = exports.VersioningSchemaMissingError = exports.ProjectAlreadyLinkedError = exports.UpdateVersioningSchemaFailError = exports.UnableToSortByVersionError = exports.InvalidPaginationCursorError = exports.RequestBodyAttributesMissingError = exports.RequestIdsDoNotMatchError = exports.ProjectDoesNotBelongToGroupError = exports.ProjectIsNotContainerImageError = exports.ProjectDoesNotExistError = exports.RequiredParameterNotProvidedError = exports.VersioningSchemaDoesNotSupportTagError = void 0;
exports.CreateVersioningSchemaFailError = exports.ImageCollectionRetrievalFailedError = exports.PropertiesRetrievalFailedError = exports.ImageUpdateFailedError = exports.ImageDoesNotExistError = exports.ImageNotFoundError = exports.VersioningSchemaInapplicableError = exports.VersioningSchemaMissingError = exports.ProjectAlreadyLinkedError = exports.UpdateVersioningSchemaFailError = exports.UnableToSortByVersionError = exports.InvalidPaginationCursorError = exports.RequestBodyAttributesMissingError = exports.RequestIdsDoNotMatchError = exports.ProjectDoesNotBelongToGroupError = exports.ProjectIsNotContainerImageError = exports.ProjectDoesNotExistError = exports.RequiredParameterNotProvidedError = exports.VersioningSchemaDoesNotSupportTagError = void 0;
const types_1 = require("../types");

@@ -103,3 +103,3 @@ const problem_error_1 = require("../problem-error");

type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0003',
status: 400,
status: 404,
errorCode: 'SNYK-CBI-0003',

@@ -544,2 +544,29 @@ level: 'warn',

exports.ImageCollectionRetrievalFailedError = ImageCollectionRetrievalFailedError;
/**
* @class
* @name CreateVersioningSchemaFailError
* @description The provided versioning schema is invalid and image could therefor not be created. Provide a properly formatted versioning schema and try again.
* @summary Unable to create versioning schema
* @category CustomBaseImages
* @param {string} details the specific details that causes this error
* @param {Classification} classification the error classification determining if the error is user-actionable or not
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
class CreateVersioningSchemaFailError extends problem_error_1.ProblemError {
constructor(details, additionalData, cause, instance, logs) {
super({
title: 'Unable to create versioning schema',
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0019',
status: 400,
errorCode: 'SNYK-CBI-0019',
level: 'warn',
classification: types_1.Classification.ACTIONABLE,
instance,
}, details, Object.assign({ links: [] }, additionalData), cause, logs);
this.name = this.constructor.name;
}
}
exports.CreateVersioningSchemaFailError = CreateVersioningSchemaFailError;
//# sourceMappingURL=CustomBaseImages-error-catalog.js.map

@@ -221,4 +221,5 @@ /*

ImageCollectionRetrievalFailed: string;
CreateVersioningSchemaFail: string;
};
};
export default _default;

@@ -223,4 +223,5 @@ /*

ImageCollectionRetrievalFailed: 'SNYK-CBI-0018',
CreateVersioningSchemaFail: 'SNYK-CBI-0019',
},
};
//# sourceMappingURL=error-codes.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc