---
title: CGError.rangeCheck
framework: coregraphics
role: symbol
role_heading: Case
path: coregraphics/cgerror/rangecheck
---

# CGError.rangeCheck

A parameter passed in has a value that is inappropriate, or which does not map to a useful operation or value.

## Declaration

```swift
case rangeCheck
```

## See Also

### Constants

- [CGError.cannotComplete](coregraphics/cgerror/cannotcomplete.md)
- [CGError.failure](coregraphics/cgerror/failure.md)
- [CGError.illegalArgument](coregraphics/cgerror/illegalargument.md)
- [CGError.invalidConnection](coregraphics/cgerror/invalidconnection.md)
- [CGError.invalidContext](coregraphics/cgerror/invalidcontext.md)
- [CGError.invalidOperation](coregraphics/cgerror/invalidoperation.md)
- [CGError.noneAvailable](coregraphics/cgerror/noneavailable.md)
- [CGError.notImplemented](coregraphics/cgerror/notimplemented.md)
- [CGError.success](coregraphics/cgerror/success.md)
- [CGError.typeCheck](coregraphics/cgerror/typecheck.md)
