@credo-ts/core
Version:
<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1
1 lines • 1.02 kB
Source Map (JSON)
{"version":3,"file":"KeyManagementKeyNotFoundError.mjs","names":[],"sources":["../../../../src/modules/kms/error/KeyManagementKeyNotFoundError.ts"],"sourcesContent":["import { KeyManagementError } from './KeyManagementError'\n\nexport class KeyManagementKeyNotFoundError extends KeyManagementError {\n public constructor(keyId: string, backends: string[], extraMessage?: string) {\n const base = `Key with key id '${keyId}' not found in backend`\n\n const withBackends =\n backends.length > 1 ? `${base}s ${backends.map((b) => `'${b}'`).join(', ')}` : `${base} '${backends[0]}'`\n\n const withExtraMessage = extraMessage ? `${withBackends}. ${extraMessage}` : withBackends\n\n super(withExtraMessage)\n }\n}\n"],"mappings":";;;;;AAEA,IAAa,gCAAb,cAAmD,mBAAmB;CACpE,AAAO,YAAY,OAAe,UAAoB,cAAuB;EAC3E,MAAM,OAAO,oBAAoB,MAAM;EAEvC,MAAM,eACJ,SAAS,SAAS,IAAI,GAAG,KAAK,IAAI,SAAS,KAAK,MAAM,IAAI,EAAE,GAAG,CAAC,KAAK,KAAK,KAAK,GAAG,KAAK,IAAI,SAAS,GAAG;EAEzG,MAAM,mBAAmB,eAAe,GAAG,aAAa,IAAI,iBAAiB;AAE7E,QAAM,iBAAiB"}