postchain-client
Version:
Client library for accessing a Postchain node through REST.
43 lines (42 loc) • 1.39 kB
TypeScript
/// <reference types="node" />
import { CustomError } from "../customError";
export declare class MissingPubKeyError extends CustomError {
constructor();
}
export declare class MissingBlockchainIdentifierError extends CustomError {
constructor();
}
export declare class MissingNodeUrlError extends CustomError {
constructor();
}
export declare class BlockchainUrlUndefinedException extends CustomError {
constructor(brid: string | number);
}
export declare class DirectoryNodeUrlPoolException extends CustomError {
constructor();
}
export declare class InvalidTransactionFormatException extends CustomError {
constructor();
}
export declare class GetTransactionRidException extends CustomError {
constructor(error: Error);
}
export declare class TxRejectedError extends Error {
fullReason: string;
shortReason?: string;
rellLine?: string;
operation?: string;
constructor(rejectReason: string);
}
export declare class UnexpectedStatusError extends CustomError {
constructor(status: number | null, error?: string | undefined);
}
export declare class InvalidTxRidException extends CustomError {
constructor(txRID: Buffer);
}
export declare class SerializedTransactionFormatException extends CustomError {
constructor();
}
export declare class GetBridFromChainException extends Error {
constructor(chainId: number, reason: string);
}