---
title: SCNSceneSourceStatus.error
framework: scenekit
role: symbol
role_heading: Case
path: scenekit/scnscenesourcestatus/error
---

# SCNSceneSourceStatus.error

An error occurred when SceneKit attempted to load the scene.

## Declaration

```swift
case error
```

## Discussion

Discussion If the status parameter of a SCNSceneSourceStatusHandler block has this value, see the block’s error parameter for information about the nature and location of the error. When SceneKit encounters an error during scene loading, it calls the handler block with this status, then after the block completes, the scene(options:statusHandler:) method returns nil.

## See Also

### Constants

- [SCNSceneSourceStatus.parsing](scenekit/scnscenesourcestatus/parsing.md)
- [SCNSceneSourceStatus.validating](scenekit/scnscenesourcestatus/validating.md)
- [SCNSceneSourceStatus.processing](scenekit/scnscenesourcestatus/processing.md)
- [SCNSceneSourceStatus.complete](scenekit/scnscenesourcestatus/complete.md)
