# PodDefinitionOverrideException constructor

PodDefinitionOverrideException(

1. String name

)

Exception thrown when a pod definition is overridden.

This exception is thrown when a pod definition is overridden.

Example usage:

    try {
      final pod = podFactory.getPod<MyPod>();
    } catch (e) {
      if (e is PodDefinitionOverrideException) {
        print('Pod definition override: ${e.message}');
      }
    }

## Implementation

    PodDefinitionOverrideException(String name) : super("Cannot override pod definition '$name'. Allow definition overriding is disabled");