---
title: "check(_:)"
framework: corevideo
role: symbol
role_heading: Type Method
path: "corevideo/cverror/check(_:)"
---

# check(_:)

Throws an instance of CVError if status is not kCVReturnSuccess

## Declaration

```swift
static func check(_ status: CVReturn) throws(CVError)
```
