# PodCreationException.withResource constructor

PodCreationException.withResource(

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

})

Create a new PodCreationException with resource description and pod name.

## Implementation

    PodCreationException.withResource(
      this.resourceDescription,
      this.name,
      String? msg, {
      Throwable? cause,
    })  : _relatedCauses = null,
          super(
            "Failed to create pod '${name ?? '<unknown>'}'${resourceDescription != null ? " (defined in $resourceDescription)" : ""}: ${msg ?? 'unspecified error'}",
            cause,
          );