package com.atlassian.bitbucket.mesh.partition;

import com.atlassian.bitbucket.mesh.AbstractStatusException;
import io.grpc.Status;

import javax.annotation.Nonnull;

public class InvalidPartitionNameException extends AbstractStatusException {

    public InvalidPartitionNameException(@Nonnull String name) {
        super("The provided partition name is not valid: " + name, Status.INVALID_ARGUMENT);
    }
}
