SAP Help Home SAP Intelligent RPA Help Portal SAP Intelligent RPA Community

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.
Extends
irpa_core.error.Error


No specific activities for this class.

Class NotSupported

Error happening when an action should be executed but is not supported yet.
Extends
irpa_core.error.Error


No specific activities for this class.

Class InvalidArgument

Error happening when the argument of an activity is not valid.
Extends
irpa_core.error.Error


No specific activities for this class.

Class Timeout

Error caused by a timeout.
Extends
irpa_core.error.Error


No specific activities for this class.

Class SequenceError

Error happening when an activity is used without having called a prerequisite activity first.
Extends
irpa_core.error.Error


No specific activities for this class.

Class Canceled

Error happening when a Cancel has been performed at some point.
Extends
irpa_core.error.Error


No specific activities for this class.

Class BusinessError

Error created by the end user to throw an exception in his automation.
Extends
irpa_core.error.Error

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.
Extends
irpa_core.error.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).
Extends
irpa_core.error.Error

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
Extends
irpa_core.error.Error

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.
Extends
irpa_core.error.Error

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.
Extends
irpa_core.error.Error


No specific activities for this class.