export class MissingPubKeyError extends Error {
    constructor() {
        super(`No public key was provided`);
    }
}
export class MissingBlockchainError extends Error {
    constructor() {
        super(`No target blockchain was provided`);
    }
}
export class MissingNodeUrlError extends Error {
    constructor() {
        super(`No node url or directory node url was provided`);
    }
}
export class BlockchainUrlUndefinedException extends Error {
    constructor(brid) {
        const idType = typeof brid === "string" ? "BRID" : "IID";
        super(`Cannot find nodes hosting the blockchain with ${idType} ${brid}`);
    }
}
export class DirectoryNodeUrlPoolExeption extends Error {
    constructor() {
        super(`No directory node url was provided`);
    }
}
export class InvalidTransactionFormatException extends Error {
    constructor() {
        super(`The transaction is not in the right format`);
    }
}
export class getTransactionRidException extends Error {
    constructor(error) {
        super(`"Error occurred while getting transaction RID:", ${error}`);
    }
}
//# sourceMappingURL=errors.js.map