Public declaration syntax from forge-ts/packages/forge-identity/src/error.ts Original source SHA-256: cef37ce9291d8fd027a1dfe96471df04bedd7e67594bf69e8843f49ea6d9b9c6 Function bodies and constant values are omitted. This is not the complete implementation. Source line 17 export const ForgeIdentityErrorCode /* type inferred in source */; Source line 27 export type ForgeIdentityErrorCodeType = (typeof ForgeIdentityErrorCode)[keyof typeof ForgeIdentityErrorCode]; Source line 50 export class ForgeIdentityError extends Error { public readonly code: ForgeIdentityErrorCodeType; static derivationFailed(parentDid: string, path: string, reason: string): ForgeIdentityError; static lineageVerificationFailed(did: string, reason: string): ForgeIdentityError; static chainTooDeep(depth: number, maxDepth: number): ForgeIdentityError; static invalidIdentity(reason: string): ForgeIdentityError; static persistenceFailed(reason: string): ForgeIdentityError; static wasmBridgeError(reason: string): ForgeIdentityError; }