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
31 lines • 685 B
JavaScript
export class ProfileError {
name;
type;
message;
constructor(message, type = 'ProfileCommand') {
this.name = 'ProfileError';
this.type = type;
this.message = message;
}
}
export class ProtocolError {
name;
type;
message;
constructor(message, type = 'ProtocolCommand') {
this.name = 'ProtocolError';
this.type = type;
this.message = message;
}
}
export class RegistryError {
name;
type;
message;
constructor(message, type = 'RegistryCommand') {
this.name = 'RegistryError';
this.type = type;
this.message = message;
}
}
//# sourceMappingURL=errors.js.map