<!--
{
  "availability" : [
    "macOS: 15.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSContainerStatus/active(status:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(cs)FSContainerStatus(cm)activeWithStatus:"
  },
  "title" : "active(status:)"
}
-->

# active(status:)

Returns a active container status instance with the provided error status.

```
class func active(status errorStatus: any Error) -> Self
```

## Parameters

`errorStatus`

The error status, if any, for the new instance.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)