ServerError
Error thrown when server encounters an error (5xx errors)
Common scenarios:
- Internal server error
- Service unavailable
- Gateway timeout
Extends
Constructors
Constructor
new ServerError(params: Partial<ErrorParams>): ServerError;
Parameters
Parameter |
Type |
params |
Partial <ErrorParams > |
Returns
ServerError
Overrides
Properties
Property |
Modifier |
Type |
Description |
type |
readonly |
string |
Error type identifier (e.g., "AuthenticationError", "ValidationError") |
message |
readonly |
string |
Error message describing what went wrong |
statusCode? |
readonly |
number |
HTTP status code (400, 401, 403, 404, 500, etc.) |
requestId? |
readonly |
string |
Request ID for tracking with UiPath support |
timestamp |
readonly |
Date |
Timestamp when the error occurred |
stack? |
readonly |
string |
Stack trace for debugging |
Accessors
isRetryable
Get Signature
get isRetryable(): boolean;
Checks if this is a temporary error that might succeed on retry
Returns
boolean
Methods
getDebugInfo()
getDebugInfo(): Record<string, unknown>;
Returns detailed debug information including stack trace
Returns
Record
<string
, unknown
>
Inherited from
UiPathError
.getDebugInfo