UNPKG

@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 • 930 B
{"version":3,"file":"W3cJsonLdCredentialSigningNotSupportedError.mjs","names":[],"sources":["../../../../src/modules/vc/linked-data-proofs/W3cJsonLdCredentialSigningNotSupportedError.ts"],"sourcesContent":["import { CredoError } from '../../../error'\n\nexport type W3cJsonLdCredentialSigningNotSupportedReason =\n | 'no-compatible-verification-method'\n | 'unsupported-key-type'\n | 'unsupported-proof-type'\n | 'unsupported-verification-method-type'\n | 'verification-method-not-controlled'\n | 'verification-method-not-found'\n\nexport class W3cJsonLdCredentialSigningNotSupportedError extends CredoError {\n public constructor(\n message: string,\n public readonly reason: W3cJsonLdCredentialSigningNotSupportedReason,\n cause?: Error\n ) {\n super(message, { cause })\n }\n}\n"],"mappings":";;;AAUA,IAAa,8CAAb,cAAiE,WAAW;CAC1E,YACE,SACA,QACA,OACA;EACA,MAAM,SAAS,EAAE,MAAM,CAAC;EAHR,KAAA,SAAA;CAIlB;AACF"}