Table of Contents

Namespace Temporalio.Exceptions

Classes

ActivityFailureException

Exception that is thrown by the server to workflows when an activity fails.

ApplicationFailureException

Exception representing an error in user code.

AsyncActivityCanceledException

Exception thrown from HeartbeatAsync(AsyncActivityHeartbeatOptions?) if workflow has requested that an activity be cancelled.

CanceledFailureException

Exception representing a cancellation.

ChildWorkflowFailureException

Exception representing a child workflow failure.

FailureException

Base exception for all Temporal-failure-based exceptions.

InboundFailureDetails

Implementation of IFailureDetails for not-yet-converted payloads that will be converted lazily.

InvalidWorkflowOperationException

Occurs when the workflow has done something invalid.

InvalidWorkflowSchedulerException

Occurs when the workflow does something outside of the workflow scheduler.

OutboundFailureDetails

Implementation of IFailureDetails for language values that are converted later.

RpcException

Exception representing a gRPC failure.

RpcTimeoutOrCanceledException

Exception representing timeout or cancellation on some client calls.

ScheduleAlreadyRunningException

Exception thrown by client when attempting to create a schedule that was already created.

ServerFailureException

Exception representing a server failure.

TemporalException

Base exception for all custom exceptions thrown by the Temporal library.

TerminatedFailureException

Exception representing a terminated workflow.

TimeoutFailureException

Exception representing a timeout.

WorkflowAlreadyStartedException

Exception thrown by client when attempting to start a workflow that was already started.

WorkflowContinuedAsNewException

Thrown when a workflow continues as new and the caller is not following runs.

WorkflowFailedException

Exception thrown when a workflow has failed while waiting for the result.

WorkflowNondeterminismException

Occurs when the workflow does something non-deterministic.

WorkflowQueryFailedException

Thrown when a query fails on the worker.

WorkflowQueryRejectedException

Thrown when a query is rejected by the server due to bad workflow status.

WorkflowUpdateFailedException

Exception thrown when a workflow update has failed while waiting for the result.

WorkflowUpdateRpcTimeoutOrCanceledException

Exception representing when an update RPC timeout or cancellation. This is not to be confused with an update itself timing out or being canceled, this is just the call.

Interfaces

IFailureDetails

Represents details of a failure.

Enums

RpcException.StatusCode

gRPC status code taken from https://github.com/grpc/grpc-dotnet/blob/master/src/Grpc.Core.Api/StatusCode.cs.