Skip to main content
Open topic with navigation

Test Service Library: Error Codes

CAPL Functions » Test Service Library » Error Codes Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE For all status report functions, the following return values and raised error classes are applied. The query functions always use a wider range of return values. In most cases the particular check of the return value isn’t necessary. A simple check to a value >0 (stands for valid) is enough. Please refer to the specification of each query function to get the complete value range of return values.
Return ValuesReturn Value Meanings and Raised Error Class
0Query has been performed successfully
-1Check does not exist
Class: Access to non-existing check
-2Check does not support this query
Class: Invalid query on check
-3The Check was never active
Class: Invalid query on check
-4No event has occurred
Class: Information
-5Pointer to CAPL-Argument is NULL
Class: Invalid test specification
-6There are multiple objects that match on this query
Class: Ambiguous query. Multiple objects match on this query
-7Node layer module is deactivated and cannot process the query
-8Variable overflow detected
-9Check is evaluated asynchronously. Function requires an existing check that is executed synchronously.
-10Check is not evaluated asynchronously.
-11Data was queried but not yet received from asynchronous evaluation.
-12Data was used later than it was requested. Data may be outdated.