# PodCreationNotAllowedException constructor

PodCreationNotAllowedException(

1. String message, {
2. required String name,

})

Exception thrown when a pod creation is not allowed in the current context.

This exception typically occurs when trying to create a pod in a context where pod creation is not allowed, such as when the application context is shutting down or when the pod factory is in a state where pod creation is disabled.

Example:

    throw PodCreationNotAllowedException('Pod creation not allowed in current context');

## Implementation

    PodCreationNotAllowedException(super.message, {required this.name});