Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider .packageName in new_condition() #12

Closed
jmbarbone opened this issue Nov 25, 2022 · 0 comments · Fixed by #13
Closed

consider .packageName in new_condition() #12

jmbarbone opened this issue Nov 25, 2022 · 0 comments · Fixed by #13
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jmbarbone
Copy link
Owner

the class value can utilize the .packageName variable within a package to appropriately append to the class.

conditionMessage(new_condition("hello", class = "foo"))
#> [1] "<fooError> hello"

could instead be ...

conditionMessage(new_condition("hello", class = "foo"))
#> [1] "<fuj:fooError> hello"

... to track the origin of the package

@jmbarbone jmbarbone added the enhancement New feature or request label Nov 25, 2022
@jmbarbone jmbarbone self-assigned this Nov 25, 2022
jmbarbone added a commit that referenced this issue Nov 25, 2022
jmbarbone added a commit that referenced this issue Nov 25, 2022
jmbarbone added a commit that referenced this issue Nov 25, 2022
jmbarbone added a commit that referenced this issue Nov 25, 2022
jmbarbone added a commit that referenced this issue Nov 25, 2022
@jmbarbone jmbarbone added this to the 0.1.2 milestone Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant