/** * @swagger * components: * schemas: * ExternalTaskError: * description: Describes an error that occured while processing an External Task. * type: object * required: * - errorCode * properties: * errorCode: * type: string * description: The error code of the error. * errorMessage: * type: string * description: The error message of the error. * errorDetails: * type: object * description: Additional information about the error. */ /** * Describes an error that occured while processing an External Task. */ export declare class ExternalTaskError { errorCode: string; errorMessage: string; errorDetails: any; constructor(errorCode: string, errorMessage?: string, errorDetails?: any); } /** * @swagger * components: * schemas: * ExternalTaskReusableError: * description: A formatted error object representing an ExternalTask error. * type: object * required: * - code * properties: * code: * description: The error code of the error. * oneOf: * - type: number * - type: string * name: * description: The name of the error. * type: string * message: * description: The error message of the error. * type: string * additionalInformation: * description: Additional information about the error. * type: object */ /** * For internal use only - A formatted error object representing an ExternalTask error. * Can be used by internal services who don't care if we're dealing with a Service- or BPMN error */ export declare class ExternalTaskReusableError { code: number | string; name?: string; message?: string; additionalInformation?: any; }