package net.siegeln.cameleer.saas.provisioning;

public record ProvisionResult(
    boolean success,
    String serverEndpoint,
    String error
) {
    public static ProvisionResult ok(String endpoint) {
        return new ProvisionResult(true, endpoint, null);
    }
    public static ProvisionResult fail(String error) {
        return new ProvisionResult(false, null, error);
    }
}
