Exceptions¶
General Exceptions¶
Inherit from Exception:
Exception |
Explanation |
|---|---|
|
Ra-Ya App/Handler was aborted, due to a system signal or an error. |
|
Ra-Ya App/Handler couldn’t start. |
|
Ra-Ya App/Handler was finished. |
|
Ra-Ya App aborted by the user |
All the exceptions raised by Raya Python library inherits from from the
exception RayaException.
Complete list of exceptions:
Commands Exceptions¶
Inherit from RayaCommandException:
Exception |
Explanation |
|---|---|
|
Command response timeout reached. |
|
Command cancel response timeout reached. |
Application exceptions¶
Inherit from RayaApplicationException:
Exception |
Explanation |
|---|---|
|
Ra-Ya application is already registered. |
|
Ra-Ya application is not registered. |
|
An exception occurred in the Ra-Ya apps admin. |
|
An unknown Ra-Ya server error occurred. |
|
Ra-Ya server is not available. |
|
Ra-Ya server does not have the required permissions. |
|
Command is already running or hasn’t been deregistered. |
|
Command is not running. |
|
Command is not cancelable. |
|
Command was canceled. |
|
Goal was not accepted. |
|
Signal not implemented. |
|
An error occurred in the Ra-Ya simulator. |
|
An error occurred with an argument. |
|
A required argument is missing. |
|
Argument does not exist. |
|
Command is outside of the setup. |
|
Custom command is not available. |
|
Required parameter is missing for the custom command. |
|
An error occurred while parsing the parameter for the custom command. |
Filesystem Exceptions¶
Inherit from RayaFileSystemException:
Exception |
Explanation |
|---|---|
|
Path not valid. |
|
Path is not a data path. |
|
Folder does not exist. |
|
File does not exist. |
|
An error occurred while downloading the requested url file. |
|
Wrong extension on file. |
Skills Exceptions¶
Inherit from RayaSkillException:
Exception |
Explanation |
|---|---|
|
Skill argument wrong type. |
|
Required skill argument missing. |
|
An unknown skill argument was passed. |
|
An error occurred while creating the skill. |
|
An error occurred while running the skill. |
|
Skill already initialized. |
|
Skill not initialized. |
|
Skill aborted. |
Task Exceptions¶
Inherit from RayaTaskException:
Exception |
Explanation |
|---|---|
|
Task already running. |
|
Task not running. |
|
Task wrong function use. |
|
Task does not have a return value. |
Value Exceptions¶
Inherit from RayaValueException:
Exception |
Explanation |
|---|---|
|
Invalid numeric range: low value ir greater than high value, or one of the range limits is not a number. |
|
Invalid argument. |
Controller Exceptions¶
Inherit from RayaControllerException:
Exception |
Explanation |
|---|---|
|
Controller not recognized. |
|
A callback is needed. |
Listener Exceptions¶
Inherit from RayaListenerException:
Exception |
Explanation |
|---|---|
|
Specified listener name already created. |
|
Listener unknown. |
|
Invalid Callback. |
Sensors Exceptions¶
Inherit from RayaSensorsException:
Exception |
Explanation |
|---|---|
|
Selected sensor path not recognized. |
|
Selected sensor path incompatible with current robot. |
|
Selected sensor path not valid for current method. |