diff --git a/README.md b/README.md index f79e5a5..1262b8c 100644 --- a/README.md +++ b/README.md @@ -435,7 +435,7 @@ The `` will call different sets of callbacks on different stop condition console.log(`### stopped at ${arg}.`) }) ``` -- [`.stop(..)`](./ADVANCED.md#parserstop) when an error is detected +- [`.error(..)`](./ADVANCED.md#parsererror) when an error is detected ```javascript .error(function(reason, arg, rest){ console.log(`### something went wrong when parsing ${arg}.`) })