UNPKG

dwnpm

Version:

Decentralized Registry Package Manager (DRPM) helps developers publish, install, find and manage Decentralized Packages (DPKs) published to Decentralized Web Nodes (DWNs). DRPM does this by looking up a Decentralized Identifier (DID) to find its DID docum

35 lines (30 loc) 709 B
export class ProfileError { name: string; type: string; message: string; constructor(message: string, type: string = 'ProfileCommand') { this.name = 'ProfileError'; this.type = type; this.message = message; } } export class ProtocolError { name: string; type: string; message: string; constructor(message: string, type: string = 'ProtocolCommand') { this.name = 'ProtocolError'; this.type = type; this.message = message; } } export class RegistryError { name: string; type: string; message: string; constructor(message: string, type: string = 'RegistryCommand') { this.name = 'RegistryError'; this.type = type; this.message = message; } }