---
title: FSContainerStatus
framework: fskit
role: symbol
role_heading: Class
path: fskit/fscontainerstatus
---

# FSContainerStatus

A type that represents a container’s status.

## Declaration

```swift
class FSContainerStatus
```

## Overview

Overview This type contains two properties: The state value that indicates the state of the container, such as FSContainerState.ready or FSContainerState.blocked. The status is an error (optional in Swift, nullable in Objective-C) that provides further information about the state, such as why the container is blocked. Examples of statuses that require intervention include errors that indicate the container isn’t ready (POSIX EAGAIN or ENOTCONN), the container needs authentication (ENEEDAUTH), or that authentication failed (EAUTH). The status can also be an informative error, such as the FSKit error FSError.Code.statusOperationInProgress.

## Topics

### Creating a container status instance

- [active(status:)](fskit/fscontainerstatus/active(status:).md)
- [blocked(status:)](fskit/fscontainerstatus/blocked(status:).md)
- [notReady(status:)](fskit/fscontainerstatus/notready(status:).md)
- [ready(status:)](fskit/fscontainerstatus/ready(status:).md)

### Inspecting status properties

- [state](fskit/fscontainerstatus/state.md)
- [FSContainerState](fskit/fscontainerstate.md)
- [status](fskit/fscontainerstatus/status.md)

### Using common status values

- [active](fskit/fscontainerstatus/active.md)
- [ready](fskit/fscontainerstatus/ready.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Containers

- [FSContainerIdentifier](fskit/fscontaineridentifier.md)
