@plyaz/types 1.29.0 → 1.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/types.d.ts +7 -0
- package/package.json +1 -1
package/dist/core/types.d.ts
CHANGED
|
@@ -37,4 +37,11 @@ export interface CoreErrorOptions {
|
|
|
37
37
|
correlationId?: string;
|
|
38
38
|
/** HTTP status code override */
|
|
39
39
|
statusCode?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Raw error details extracted from API response.
|
|
42
|
+
* Used when the error is not an Error instance but contains useful data
|
|
43
|
+
* (e.g., validation errors array, 3rd party API error objects).
|
|
44
|
+
* Will be transformed through @plyaz/errors middleware.
|
|
45
|
+
*/
|
|
46
|
+
details?: unknown;
|
|
40
47
|
}
|
package/package.json
CHANGED