# E4080

Arity mismatch: incorrect number of arguments provided.

## Erroneous example

Function arity mismatch:

```{literalinclude} /sources/error_codes/4080_error/top.mbt
:language: moonbit
```

Constructor arity mismatch:

```{literalinclude} /sources/error_codes/4080_error/top_1.mbt
:language: moonbit
```

## Suggestion

Provide the correct number of arguments.

Function arity mismatch:

```{literalinclude} /sources/error_codes/4080_fixed/top.mbt
:language: moonbit
```

Constructor arity mismatch:

```{literalinclude} /sources/error_codes/4080_fixed/top_1.mbt
:language: moonbit
```
