How to define a specific error message when checkIfExists of fromPath is failed #2515
-
Dear Nextflow, Running command:
Error message now:
I want to change the error message to my specific message in order to tell users more information. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello, You could check yourself if the path exists and return a custom message with the following code:
Thanks, |
Beta Was this translation helpful? Give feedback.
-
Thank you! This solution can solve my problem. |
Beta Was this translation helpful? Give feedback.
Hello,
You could check yourself if the path exists and return a custom message with the following code:
Thanks,
manuele