orb-ui-firebase
Version:
Firebase with redux
21 lines (19 loc) • 354 B
JavaScript
import * as types from './types';
export function logError(location, err) {
return {
type: types.LOG_ERROR,
location: location,
err: err
};
}
export function clearError(location) {
return {
type: types.CLEAR_ERROR,
location: location
};
}
export function clearAllErrors() {
return {
type: types.CLEAR_ALL_ERRORS
};
}