@iexec/iexec-oracle-factory-wrapper
Version:
A wrapper for creating API based oracles for ethereum on the top of iExec
16 lines (15 loc) • 573 B
TypeScript
import { ValidationError } from 'yup';
import { SafeObserver } from './reactive.js';
export declare const updateErrorMessage = "Failed to update oracle";
export declare class WorkflowError extends Error {
isProtocolError: boolean;
constructor({ message, errorCause, isProtocolError, }: {
message: string;
errorCause: Error;
isProtocolError?: boolean;
});
}
export declare function handleIfProtocolError(error: Error, observer: SafeObserver<unknown>): void;
export declare class NoValueError extends Error {
}
export { ValidationError };