@uipath/uipath-typescript 1.0.0 → 1.1.0

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.
@@ -187,17 +187,13 @@ interface ErrorParams {
187
187
 
188
188
  /**
189
189
  * Base error class for all UiPath SDK errors
190
- * Pure TypeScript class with clean interface
190
+ * Extends Error for standard error handling compatibility
191
191
  */
192
- declare abstract class UiPathError {
192
+ declare abstract class UiPathError extends Error {
193
193
  /**
194
194
  * Error type identifier (e.g., "AuthenticationError", "ValidationError")
195
195
  */
196
196
  readonly type: string;
197
- /**
198
- * Error message describing what went wrong
199
- */
200
- readonly message: string;
201
197
  /**
202
198
  * HTTP status code (400, 401, 403, 404, 500, etc.)
203
199
  */
@@ -210,10 +206,6 @@ declare abstract class UiPathError {
210
206
  * Timestamp when the error occurred
211
207
  */
212
208
  readonly timestamp: Date;
213
- /**
214
- * Stack trace for debugging
215
- */
216
- readonly stack?: string;
217
209
  protected constructor(type: string, params: ErrorParams);
218
210
  /**
219
211
  * Returns a clean JSON representation of the error