Skip to content

Return the "file not found" error for ecx_FOEread() through wkc#679

Open
zivke wants to merge 1 commit intoOpenEtherCATsociety:masterfrom
synapticon:feature/foe-read-not-found-error
Open

Return the "file not found" error for ecx_FOEread() through wkc#679
zivke wants to merge 1 commit intoOpenEtherCATsociety:masterfrom
synapticon:feature/foe-read-not-found-error

Conversation

@zivke
Copy link
Copy Markdown

@zivke zivke commented Feb 22, 2023

The "file not found" error is the most significant error that can be returned from the above function as it can affect and guide the work flow, so it makes sense to have it returned in some way. Since the same error has already been processed and returned in the ecx_FOEwrite() function, there is no reason not to process it and return it in the ecx_FOEread() function in the exact same way.
The good thing about this change is that it adds a lot of flexibility cheaply, since it doesn't require full support for all FoE errors.

The "file not found" error is the most significant error that can be returned from the above function as it can affect and guide the work flow, so it makes sense to have it returned in some way. Since the same error has already been processed and returned in the ecx_FOEwrite() function, there is no reason not to process it and return it in the ecx_FOEread() function in the exact same way.
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Sep 23, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants