summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/exception.cpp
AgeCommit message (Collapse)Author
2023-09-23SERVER-81059 bulk-revert of include of boost iif.hppBilly Donahue
2023-07-01SERVER-77049 SERVER-77050 IWYU automated changes up to 1.0Daniel Moody
2023-02-12SERVER-72873 add header brackets tidy check.Daniel Moody
2022-04-28SERVER-65773 Improved MozJS error handlingMohammad Dashti
2022-03-07SERVER-61008 Upgrade vendorized mozjs to esr91.3Justin Seyster
Co-authored-by: Mohammad Dashti <mdashti@gmail.com>
2020-06-22SERVER-46962 add optional parameter when creating ErrorExtraInfo classPavi Vetriselvan
2019-03-14SERVER-40059 build Status objects with StringData in exception.cppGabriel Russell
2019-02-13SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue
Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
2019-01-30SERVER-29286 import and use mozjs-60Gabriel Russell
2019-01-29Revert "SERVER-29286 import and use mozjs-60"Gabriel Russell
This reverts commit a3d232b697dfc7c8833fc1855abbc190fe0d5970.
2019-01-29SERVER-29286 import and use mozjs-60Gabriel Russell
2018-10-22SERVER-37651 Update header files with new licenseRamon Fernandez
2018-05-23SERVER-35061: Javascript sleep should error on premature wakeSpencer Jackson
2018-01-19SERVER-32239 Lossless status throwing in JSJason Carey
Enable throwing of status without conversion to error reports in spidermonkey. This will enable throwing of sidecars and other rich data through js land.
2018-01-17SERVER-32617 Fix code that reconstructs status with just code and stringMathias Stearn
2018-01-17SERVER-32587 Convert StaleConfigException to use ErrorExtraInfoMathias Stearn
2017-11-02SERVER-31629 Replace ErrorCodes::fromInt() with ErrorCodes::Error()Mathias Stearn
No reason to have two ways to express the same thing, and we can't get rid of ErrorCodes::Error().
2016-09-09SERVER-22973 use mongo macros for static assertMatt Cotter
2016-02-24SERVER-22783 Consolidate WriteConcernError parsingKaloian Manassiev
This change consolidates the checking for writeConcernError section to happen in the ShardRegistry instead of each command doing it separately. This makes WriteConcernFailed to be an actual error code of the command. Also cleans up the WCErrorDetail class by removing unnecessarly functionality.
2015-12-02SERVER-21711 make currentJSExceptionToStatus more robustJason Carey
JS_GetPendingException can return non-objects. In that case, just return whatever stringification we can dig up.
2015-09-17SERVER-20375 Constrain JS method thisvJason Carey
This constrains universal access to wraptype methods by providing a JS_ATTACH_JS_CONSTRAINED_METHOD() macro which allows for a list of types that are allowed to call said method. In this way we can lock down all methods without having to add uasserts to each individual method body.
2015-08-14SERVER-19935 Make JSThread stacks more informativeJason Carey
We have some pretty poor error reporting for interrupted $where's and map reduces. This fixes the interruption bit and accumulates stack's across threads.
2015-08-10SERVER-19853 no numeric_limits for msvc in MozJSJason Carey
can't use numeric_limits in static asserts on msvc 2013
2015-08-10SERVER-19705 unmix MozJS and Mongo Error CodesJason Carey
SpiderMonkey error codes overlap with Mongo error codes in thrown user assertions. Avoid that by lifting our error codes above theirs.
2015-07-28SERVER-19641 cleanup the js scope in quit()Jason Carey
make leak sanitizer happy
2015-07-20SERVER-18531 Additional fixes for SpiderMonkeyJason Carey
o jstest fixes for scopes we don't clean up o better exception handling o removal of trace logging from SpiderMonkey build
2015-07-14SERVER-18531 Integrate SpiderMonkeyJason Carey
Provides SpiderMonkey 38.0.1esr as a JS engine for mongo and mongod.