@dotcom-reliability-kit/serialize-error
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -15,2 +15,4 @@ /** | ||
* Whether the error is operational, as in it's an error we expect sometimes as part of running the application. | ||
* @property {Array<string>} relatesToSystems | ||
* An array of FT system codes which are related to this error. | ||
* @property {(Error | null)} cause | ||
@@ -17,0 +19,0 @@ * The root cause error instance. |
{ | ||
"name": "@dotcom-reliability-kit/serialize-error", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A utility function to serialize an error object in a way that's friendly to loggers, view engines, and converting to JSON", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -13,2 +13,3 @@ | ||
* [`SerializedError.isOperational`](#serializederrorisoperational) | ||
* [`SerializedError.relatesToSystems`](#serializederrorrelatestosystems) | ||
* [`SerializedError.cause`](#serializederrorcause) | ||
@@ -15,0 +16,0 @@ * [`SerializedError.stack`](#serializederrorstack) |
8739
107
115