export function requireOwner({ caller, envOwner }) {
    if (!caller)
        throw new Error("UNAUTHENTICATED");
    if (!envOwner)
        throw new Error("ENV_NOT_FOUND");
    if (caller.toLowerCase() !== envOwner.toLowerCase()) {
        throw new Error("FORBIDDEN");
    }
}
