# PodDefinitionStoreException constructor

PodDefinitionStoreException({

1. String? msg,
2. required String name,
3. String? resourceDescription,
4. Throwable? cause,

})

Exception thrown when a pod definition store error occurs.

This exception typically occurs when a pod definition is being stored in the application context, but an error occurs during the storage process.

Example:

    throw PodDefinitionStoreException('Pod definition store error');

## Implementation

    PodDefinitionStoreException({String? msg, required this.name, String? resourceDescription, Throwable? cause}) : super.withResource(
      resourceDescription,
      name,
      'Failed to register pod definition "$name"${resourceDescription != null ? " (from $resourceDescription)" : ""}: ${msg ?? 'unspecified error'}. Check declaration and uniqueness of the pod name.',
      cause: cause
    );