Skip to content

Conversation

pllopis
Copy link
Contributor

@pllopis pllopis commented Jan 6, 2023

To be consistent with other functions and methods, we need to raise a ValueError instead of just returning the error code. This also allows client applications to more easily interpret the reason for the error.

To be consistent with other functions and methods, we need to raise a
ValueError instead of just returning the error code. This also allows
client applications to more easily interpret the reason for the error.
@tazend tazend self-assigned this Jan 6, 2023
@tazend tazend merged commit 2617092 into PySlurm:main Jan 6, 2023
tazend pushed a commit that referenced this pull request Jan 19, 2023
To be consistent with other functions and methods, we need to raise a
ValueError instead of just returning the error code. This also allows
client applications to more easily interpret the reason for the error.
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