export class RetriableError extends Error {
    constructor(error) {
        super();
        this.message = error.message;
        this.name = error.name;
        this.stack = error.stack;
    }
}
export const isRetriable = (error) => {
    return error instanceof RetriableError;
};
//# sourceMappingURL=retriable-error.js.map