Generic application-level failure raised from inside an activity or workflow.
When raised in an activity body, the worker translates it into a Temporal
ApplicationFailureInfo with the given type, message, non_retryable,
and details fields. The workflow sees it wrapped in a
Temporalex.ActivityFailure whose cause is this struct.
Setting non_retryable: true instructs Temporal not to retry the activity
even if the activity's retry policy would otherwise allow another attempt.
Summary
Functions
Convenience constructor: ApplicationError.new("boom", type: "InvalidSku", non_retryable: true).