aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkError.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkError.h')
-rw-r--r--include/core/SkError.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/core/SkError.h b/include/core/SkError.h
index c5af46065f..f3f22e9aa0 100644
--- a/include/core/SkError.h
+++ b/include/core/SkError.h
@@ -47,7 +47,12 @@ enum SkError {
/** Skia failed while trying to consume some external resource.
*/
- kParseError_SkError
+ kParseError_SkError,
+
+ /** Something went wrong internally; could be resource exhaustion but
+ * will often be a bug.
+ */
+ kInternalError_SkError
};
/** Return the current per-thread error code. Error codes are "sticky"; they