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

# CGError.success

The requested operation was completed successfully.

## Declaration

```swift
case success
```

## 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.rangeCheck](coregraphics/cgerror/rangecheck.md)
- [CGError.typeCheck](coregraphics/cgerror/typecheck.md)
