Skip to content

Commit

Permalink
text correction
Browse files Browse the repository at this point in the history
  • Loading branch information
JnsHndr committed Nov 26, 2024
1 parent aeb48a7 commit 9f8e923
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ string error_text

## Service execution status
All previously described services return at least the error code (error_code) and error text (error_text) in the response.
Both contain the status of the service execution. Error codes (data type int32) not equal to 0 indicate an error during service
Both contain the status of the service execution. Error codes (data type int32) not equal to 0 indicate an error during service
execution. Error text (data type string) shows the status of the service execution as a description readable by humans.
The following response of the service pfsdp_set_parameter shows the error code, error text and as first return value
the read parameter user_tag.
Exemplary the following response of the service pfsdp_get_parameter shows the error code, error text and as first return value
the read parameter vendor.
```
pf_interfaces.srv.PfsdpGetParameter_Response(value='OMD10M-R2000', error_code=0, error_text='success')
pf_interfaces.srv.PfsdpGetParameter_Response(value='Pepperl+Fuchs', error_code=0, error_text='success')
```

0 comments on commit 9f8e923

Please sign in to comment.