-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
43 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
const MISSING_PERCENT_ERROR = "MISSING_PERCENT_ERROR"; | ||
const NEEDS_TO_BE_SIMPLIFIED_ERROR = "NEEDS_TO_BE_SIMPLIFIED_ERROR"; | ||
const APPROXIMATED_PI_ERROR = "APPROXIMATED_PI_ERROR"; | ||
const EXTRA_SYMBOLS_ERROR = "EXTRA_SYMBOLS_ERROR"; | ||
const WRONG_CASE_ERROR = "WRONG_CASE_ERROR"; | ||
const WRONG_LETTER_ERROR = "WRONG_LETTER_ERROR"; | ||
const MULTIPLICATION_SIGN_ERROR = "MULTIPLICATION_SIGN_ERROR"; | ||
|
||
const ErrorCodes = { | ||
MISSING_PERCENT_ERROR, | ||
NEEDS_TO_BE_SIMPLIFIED_ERROR, | ||
APPROXIMATED_PI_ERROR, | ||
EXTRA_SYMBOLS_ERROR, | ||
WRONG_CASE_ERROR, | ||
WRONG_LETTER_ERROR, | ||
MULTIPLICATION_SIGN_ERROR, | ||
}; | ||
|
||
export default ErrorCodes; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
export {default as KhanAnswerTypes} from "./util/answer-types"; | ||
export type {Score} from "./util/answer-types"; | ||
export { | ||
APPROXIMATED_PI_ERROR, | ||
EXTRA_SYMBOLS_ERROR, | ||
MISSING_PERCENT_ERROR, | ||
NEEDS_TO_BE_SIMPLIFIED_ERROR, | ||
WRONG_CASE_ERROR, | ||
WRONG_LETTER_ERROR, | ||
MULTIPLICATION_SIGN_ERROR, | ||
} from "./error-identifiers"; | ||
export {default as ErrorCodes} from "./error-codes"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters