# Pagination tutorial - part 4

Finally, the flow follows the error path if an unexpected step parameter shows up. When that happens, follow these steps:

<figure><img src="https://3750561495-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaD6wuPRxnEQEsYpePq36%2Fuploads%2FEH0cTVgCsH23xEHzj54b%2Fimage.png?alt=media&#x26;token=804814d0-a1a1-4aaa-8753-1f03b4bbdd53" alt=""><figcaption><p>The error path</p></figcaption></figure>

1. Add a Log component.
2. Add a Throw error component.
