TerminalException

When thrown in a Restate service method, it will complete the invocation with an error.

Constructors

Link copied to clipboard
constructor()
constructor(code: Int)
Like TerminalException, without message.
constructor(code: Int, message: String)
Create a new TerminalException.
constructor(message: String)

Properties

Link copied to clipboard
val ABORTED_CODE: Int = 409
Link copied to clipboard
Link copied to clipboard
val CANCELLED_CODE: Int = 409
Link copied to clipboard
open val cause: Throwable
Link copied to clipboard
val code: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun addSuppressed(exception: Throwable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMessage(): String
Link copied to clipboard
Link copied to clipboard
open fun initCause(cause: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
Link copied to clipboard
open fun toString(): String