Bug 1339540 part 1. Introduce an ErrorResult-specific nsresult module. r=smaug

This commit is contained in:
Boris Zbarsky
2017-02-15 00:01:57 -05:00
parent a3268b9091
commit f672e3514c
2 changed files with 9 additions and 0 deletions

View File

@@ -81,6 +81,9 @@
#define NS_ERROR_MODULE_DOM_PUSH 40
#define NS_ERROR_MODULE_DOM_MEDIA 41
#define NS_ERROR_MODULE_URL_CLASSIFIER 42
/* ErrorResult gets its own module to reduce the chance of someone accidentally
defining an error code matching one of the ErrorResult ones. */
#define NS_ERROR_MODULE_ERRORRESULT 43
/* NS_ERROR_MODULE_GENERAL should be used by modules that do not
* care if return code values overlap. Callers of methods that