Fix `error` handler typo