@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.01 kB
Source Map (JSON)
{"version":3,"file":"X509Error.mjs","names":[],"sources":["../../../src/modules/x509/X509Error.ts"],"sourcesContent":["import { CredoError } from '../../error'\nimport type { X509ValidationResult } from './X509ValidationResult'\n\nexport class X509Error extends CredoError {}\n\n/**\n * Error indicating that a CRL could not be obtained (e.g. network failure, timeout, or HTTP error)\n * from any of a distribution point's URLs.\n */\nexport class X509CrlUnavailableError extends X509Error {}\n\n/**\n * Enhanced X509 error that includes detailed validation results\n */\nexport class X509ValidationError extends X509Error {\n public validationResult: X509ValidationResult\n\n constructor(message: string, validationResult: X509ValidationResult) {\n super(message)\n this.validationResult = validationResult\n }\n}\n"],"mappings":";;;AAGA,IAAa,YAAb,cAA+B,WAAW,CAAC;;;;;AAM3C,IAAa,0BAAb,cAA6C,UAAU,CAAC;;;;AAKxD,IAAa,sBAAb,cAAyC,UAAU;CAGjD,YAAY,SAAiB,kBAAwC;EACnE,MAAM,OAAO;EACb,KAAK,mBAAmB;CAC1B;AACF"}