Skip to content

Commit

Permalink
core, feat: change the error prompt capitalization.
Browse files Browse the repository at this point in the history
  • Loading branch information
xicilion committed Jul 15, 2018
1 parent 83ad511 commit a2d5f17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fibjs/include/utils.h
Expand Up @@ -159,7 +159,7 @@ typedef int32_t result_t;
#define CALL_E_RETURN_TYPE (CALL_E_MAX - 21) #define CALL_E_RETURN_TYPE (CALL_E_MAX - 21)
// Exception occurred. // Exception occurred.
#define CALL_E_EXCEPTION (CALL_E_MAX - 22) #define CALL_E_EXCEPTION (CALL_E_MAX - 22)
// Javascript error. // JavaScript error.
#define CALL_E_JAVASCRIPT (CALL_E_MAX - 23) #define CALL_E_JAVASCRIPT (CALL_E_MAX - 23)
// Permission denied // Permission denied
#define CALL_E_PERMIT (CALL_E_MAX - 24) #define CALL_E_PERMIT (CALL_E_MAX - 24)
Expand Down
2 changes: 1 addition & 1 deletion fibjs/src/base/utils.cpp
Expand Up @@ -69,7 +69,7 @@ exlib::string getResultMessage(result_t hr)
// CALL_E_EXCEPTION // CALL_E_EXCEPTION
"Exception occurred.", "Exception occurred.",
// CALL_E_JAVASCRIPT // CALL_E_JAVASCRIPT
"Javascript error.", "JavaScript error.",
// CALL_E_PERMIT // CALL_E_PERMIT
"Permission denied" "Permission denied"
}; };
Expand Down

0 comments on commit a2d5f17

Please sign in to comment.