Skip to content

Fix for issue #1 - return unexpected errors early#4

Open
laher wants to merge 3 commits intomasterfrom
return-non-errnotexist-early
Open

Fix for issue #1 - return unexpected errors early#4
laher wants to merge 3 commits intomasterfrom
return-non-errnotexist-early

Conversation

@laher
Copy link
Copy Markdown
Owner

@laher laher commented May 24, 2021

this behaviour could potentially break someone's use of the library...

e.g. if they have one unreliable filesytem, this error might prevent you from ever reaching the correct filesystem.

Edit: I have provided one workaround:

  • mergefs.MergeWithOptions(mergefs.AllowError(my.TimeoutError))
  • If you want to permit certain errors, you can initialise mergefs with that kind of support.

It still doesn't feel quite right though. I'll think on it some more

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.

1 participant