Module - Errors
Collection of functions for thrown errors.
Class Error
Generic class of errors. All the SAP Intelligent RPA errors are inherited from this class (including errors from other SDK packages).
Properties:
| Name |
Type |
Description |
| code |
string |
Code identifying the error. |
| message |
string |
Message to detail the error. |
| parameters |
any |
Error parameters. |
No specific activities for this class.
Class NotFound
Error happening when a resource or a property is not found.
No specific activities for this class.
Class NotSupported
Error happening when an action should be executed but is not supported yet.
No specific activities for this class.
Class InvalidArgument
Error happening when the argument of an activity is not valid.
No specific activities for this class.
Class Timeout
Error caused by a timeout.
No specific activities for this class.
Class SequenceError
Error happening when an activity is used without having called a prerequisite activity first.
No specific activities for this class.
Class Canceled
Error happening when a Cancel has been performed at some point.
No specific activities for this class.
Class BusinessError
Error created by the end user to throw an exception in his automation.
Constructor:
| Description |
| Create a Business Error. |
Constructor Inputs:
| Name |
Type |
Attributes |
Description |
| message |
string |
|
Message to detail the error. |
Minimal Agent Version:
WIN-3.24
MAC-3.24
No specific activities for this class.
Class RequestError
Error created when there is a web request error.
Constructor:
| Description |
| Create a Request Error. |
Constructor Inputs:
| Name |
Type |
Attributes |
Description |
| message |
string |
|
Message to detail the error. |
| parameters |
any |
|
Error parameters. |
Minimal Agent Version:
WIN-3.24
MAC-3.24
No specific activities for this class.
Class DestinationError
Occurs when issues related to destinations happen (e.g. in the Connector artifact).
Constructor:
| Description |
| Create a Destination Error. |
Constructor Inputs:
| Name |
Type |
Attributes |
Description |
| message |
string |
|
Message to detail the error. |
| parameters |
any |
|
Error parameters. |
Minimal Agent Version:
WIN-3.24
MAC-3.24
No specific activities for this class.
Class AccessTokenError
Occurs when there are problems related to the SAP S/4 HANA Cloud API Access Token
Constructor:
| Description |
| Create a AccessTokenError. |
Constructor Inputs:
| Name |
Type |
Attributes |
Description |
| message |
string |
|
Message to detail the error. |
| parameters |
any |
|
Error parameters. |
Minimal Agent Version:
WIN-3.24
MAC-3.24
No specific activities for this class.
Class ActionRestExecutionError
Occurs when there is a problem during the execution of an action.
Properties:
| Name |
Type |
Description |
| statusCode |
number |
Status code of the request/response |
| response |
any |
Response of the request |
Constructor:
| Description |
| Create a ActionRestExecutionError. |
Constructor Inputs:
| Name |
Type |
Attributes |
Description |
| message |
string |
|
Message to detail the error. |
| parameters |
any |
|
Error parameters. |
Minimal Agent Version:
WIN-3.24
MAC-3.24
No specific activities for this class.
Class CommunicationError
Occurs when there is a communcation issue with a web extension.
No specific activities for this class.