package io.vertx.up.error.shell;

import io.horizon.exception.BootingException;
import org.apache.commons.cli.ParseException;

/**
 * @author <a href="http://www.origin-x.cn">Lang</a>
 */
public class CommandParseException extends BootingException {

    public CommandParseException(final Class<?> clazz, final String input,
                                 final ParseException error) {
        super(clazz, input, error.getMessage());
    }

    @Override
    public int getCode() {
        return -40071;
    }
}
