Permanent

open class Permanent(message: String, cause: Throwable? = null) : ActionException, NonRetryable

Permanent failure that should not be retried.

Use for deterministic failures like:

  • Validation errors

  • Business rule violations

  • Invalid parameters

  • Resource not found (404 errors)

  • Authentication failures (401 errors)

  • Authorization failures (403 errors)

Parameters

message

Human-readable error description

cause

Optional underlying exception

Constructors

Link copied to clipboard
constructor(message: String, cause: Throwable? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard