Optional prefix: null | stringPrefix to be prepended to action types as <prefix>/<type>.
Optional defaultIsError: ((payload) => boolean)Function that detects whether action is error given the
payload. Default is payload => payload instanceof Error.
Creates Action Creator factory with optional prefix for action types.