ProtonHelper.condition

Create an ErrorCondition with the given error condition value (which will be converted to the required Symbol type) and error description string.

See {@link #condition(Symbol, String)} for more details.

@param condition the error condition value, to be converted to a Symbol @param description String description of the error, may be null @return the condition

  1. ErrorCondition condition(Symbol condition, String description)
  2. ErrorCondition condition(String condition, String description)
    interface ProtonHelper
    static
    ErrorCondition
    condition
    (
    String condition
    ,)

Meta