Skip to content

Conversation

@Chuan1937
Copy link
Contributor

Add GMTParameterError:at_least_one

@seisman
This is the second PR of #4003

Error types Preferred Parameter Name Alternative Parameter Names Error Message Template
Required required must_have, needed Missing required parameter: '{param}'
Missing required parameters: '{a}', '{b}'
At least one is required at_least_one need_one_of, , , any_of``one_of``required_any Missing required parameters: '{a}', '{b}', '{c}'. Must specify at least one.
Must specify at least one of the parameters: '{a}', '{b}', '{c}'
Exactly one is required exactly_one mutually_exclusive Mutually exclusive parameters: '{a}', '{b}', '{c}'. Specify exactly one.
At most one at_most_one mutually_exclusive Mutually exclusive parameters: '{a}', '{b}', '{c}'. Specify at most one
Conflicting conflicts_with conflicts, incompatible_with Conflicting parameters: '{a}' cannot be used with '{b}', '{c}'

modified files for grdclip, grdfill, grdgradient,test_grdclip, test_grdfill, test_grdgradient
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