Class ExecutionError

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TechnicalError, UserError

public abstract sealed class ExecutionError extends RuntimeException permits TechnicalError, UserError
Base class for execution errors, carrying a stable code and deterministic context.
See Also:
  • Constructor Details

  • Method Details

    • code

      public final String code()
    • context

      public final Map<String,String> context()
      Returns context sorted by key so diagnostics never depend on map insertion order.