Class TemporalException
Base exception for all custom exceptions thrown by the Temporal library.
Inheritance
TemporalException
Namespace: Temporalio.Exceptions
Assembly: Temporalio.dll
Syntax
public abstract class TemporalException : Exception
Constructors
TemporalException()
Initializes a new instance of the TemporalException class.
Declaration
public TemporalException()
TemporalException(String)
Initializes a new instance of the TemporalException class.
Declaration
public TemporalException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | Message for the exception. |
TemporalException(String, Nullable<Exception>)
Initializes a new instance of the TemporalException class.
Declaration
public TemporalException(string message, Exception? inner)
Parameters
Type | Name | Description |
---|---|---|
String | message | Message for the exception. |
Nullable<Exception> | inner | Cause of the exception. |