import { FailureDetails } from "@dapr/durabletask-js/task/failure-details"; /** * Class that represents the details of a task failure. * * In most cases, failures are caused by unhandled exceptions in activity or workflow code, in which case instances * of this class will expose the details of the exception. However, it's also possible that other types of errors could * result in task failures, in which case there may not be any exception-specific information. */ export declare class WorkflowFailureDetails { private readonly failureDetails; constructor(failureDetails: FailureDetails); /** * Gets the error type, which is the namespace-qualified exception type name. * @return {string} The error type. */ getErrorType(): string; /** * Gets the error message. * @return {string} The error message. */ getErrorMessage(): string; /** * Gets the stack trace. * @return {string | undefined} The stack trace, or undefined if not available. */ getStackTrace(): string | undefined; }