@plyaz/types 1.7.14 → 1.7.15
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/errors/types.d.ts +8 -0
- package/package.json +1 -1
package/dist/errors/types.d.ts
CHANGED
|
@@ -62,3 +62,11 @@ export interface ValidationErrorResponse {
|
|
|
62
62
|
message: string;
|
|
63
63
|
timestamp: string;
|
|
64
64
|
}
|
|
65
|
+
export interface BaseErrorResponse {
|
|
66
|
+
/** Category of the error. */
|
|
67
|
+
type: 'form' | 'auth' | 'server' | 'network' | 'runtime';
|
|
68
|
+
/** Human-readable error message. */
|
|
69
|
+
message: string;
|
|
70
|
+
/** ISO timestamp when the error occurred. */
|
|
71
|
+
timestamp: string;
|
|
72
|
+
}
|
package/package.json
CHANGED