---
title: HMError.Code.valueHigherThanMaximum
framework: homekit
role: symbol
role_heading: Case
path: homekit/hmerror/code/valuehigherthanmaximum
---

# HMError.Code.valueHigherThanMaximum

An attempt to use a numeric value higher than the specified maximum value.

## Declaration

```swift
case valueHigherThanMaximum
```

## See Also

### Value errors

- [HMError.Code.invalidDataFormatSpecified](homekit/hmerror/code/invaliddataformatspecified.md)
- [HMError.Code.invalidValueType](homekit/hmerror/code/invalidvaluetype.md)
- [HMError.Code.nameContainsProhibitedCharacters](homekit/hmerror/code/namecontainsprohibitedcharacters.md)
- [HMError.Code.nameDoesNotEndWithValidCharacters](homekit/hmerror/code/namedoesnotendwithvalidcharacters.md)
- [HMError.Code.nameDoesNotStartWithValidCharacters](homekit/hmerror/code/namedoesnotstartwithvalidcharacters.md)
- [HMError.Code.stringLongerThanMaximum](homekit/hmerror/code/stringlongerthanmaximum.md)
- [HMError.Code.stringShorterThanMinimum](homekit/hmerror/code/stringshorterthanminimum.md)
- [HMError.Code.valueLowerThanMinimum](homekit/hmerror/code/valuelowerthanminimum.md)
