# HAMUR_E0173: --route or --method is passed to a template other than handler

--route or --method is passed to a template other than handler. Error `HAMUR_E0173` belongs to `hamur`, config, environment and command line (0001 – 0999).

## Message

```text
HAMUR_E0173 --<flag> is for the handler template
```

## Cause

`--route` and `--method` set the route and method of a server handler, so only the `handler` template takes them.

## Fix

Remove the flag, or use the `handler` template.
