mirror of
https://github.com/aclindsa/moneygo.git
synced 2025-06-13 13:39:23 -04:00
Ensure default currency isn't modified to be a non-currency
This commit is contained in:
@ -32,6 +32,17 @@ function clientError(error) {
|
||||
};
|
||||
}
|
||||
|
||||
function userError(error) {
|
||||
var e = new Error();
|
||||
e.ErrorId = 999;
|
||||
e.ErrorString = error;
|
||||
|
||||
return {
|
||||
type: ErrorConstants.ERROR_USER,
|
||||
error: e
|
||||
};
|
||||
}
|
||||
|
||||
function clearError() {
|
||||
return {
|
||||
type: ErrorConstants.CLEAR_ERROR,
|
||||
@ -42,5 +53,6 @@ module.exports = {
|
||||
serverError: serverError,
|
||||
ajaxError: ajaxError,
|
||||
clientError: clientError,
|
||||
userError: userError,
|
||||
clearError: clearError
|
||||
};
|
||||
|
Reference in New Issue
Block a user