Permalink
Browse files

core, feat: change the error prompt capitalization.

  • Loading branch information...
xicilion committed Jul 15, 2018
1 parent 83ad511 commit a2d5f1782d6c49bfe533f4ca380831d98e448f44
Showing with 2 additions and 2 deletions.
  1. +1 −1 fibjs/include/utils.h
  2. +1 −1 fibjs/src/base/utils.cpp
View
@@ -159,7 +159,7 @@ typedef int32_t result_t;
#define CALL_E_RETURN_TYPE (CALL_E_MAX - 21)
// Exception occurred.
#define CALL_E_EXCEPTION (CALL_E_MAX - 22)
// Javascript error.
// JavaScript error.
#define CALL_E_JAVASCRIPT (CALL_E_MAX - 23)
// Permission denied
#define CALL_E_PERMIT (CALL_E_MAX - 24)
View
@@ -69,7 +69,7 @@ exlib::string getResultMessage(result_t hr)
// CALL_E_EXCEPTION
"Exception occurred.",
// CALL_E_JAVASCRIPT
"Javascript error.",
"JavaScript error.",
// CALL_E_PERMIT
"Permission denied"
};

0 comments on commit a2d5f17

Please sign in to comment.