PodException constructor

PodException(
  1. String? message, [
  2. Throwable? cause
])

Base exception type for all pod-related errors in JetLeaf.

This exception is typically thrown when a pod cannot be created, resolved, injected, or initialized properly within the application context.

It acts as the root of the JetLeaf pod exception hierarchy and may be subclassed to represent more specific errors (e.g., NoSuchPodDefinitionException, PodCreationException, etc.).


Example

throw PodsException('Failed to create pod of type MyService');

Implementation

PodException(super.message, [super.cause]);