Closed simonkenyongithub closed 3 months ago
in the documentation (https://pub.dev/packages/async_redux#giving-better-error-messages) the code: ` class LogoutAction extends ReduxAction {
@override Future reduce() async { ... }
@override Object wrapError(error) => LogoutError("Logout failed.", cause: error); }`
is incorrect. the wrapError has a second parameter.
Thank you!
It used to have a single param in the past. This is fixed in our new website: https://asyncredux.com
in the documentation (https://pub.dev/packages/async_redux#giving-better-error-messages) the code: ` class LogoutAction extends ReduxAction {
@override Future reduce() async { ... }
@override Object wrapError(error) => LogoutError("Logout failed.", cause: error); }`
is incorrect. the wrapError has a second parameter.