aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/utils/utils.ts
blob: e3dd1fc620c5a0bc012383297bc33999d847c902 (plain) (blame)
1
2
3
4
5
export const utils = {
    spawnSwitchErr(name: string, value: any): Error {
        return new Error(`Unexpected switch value: ${value} encountered for ${name}`);
    },
};