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

# blocked(status:)

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

```
class func blocked(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)