---
title: "EstimatorEncodingError.invalidState(debugDescription:)"
framework: createmlcomponents
role: symbol
role_heading: Case
path: "createmlcomponents/estimatorencodingerror/invalidstate(debugdescription:)"
---

# EstimatorEncodingError.invalidState(debugDescription:)

An error that indicates that an estimator cannot perform encoding from its current state.

## Declaration

```swift
case invalidState(debugDescription: String)
```
