diff --git a/src/configuration/configuration-errors.ts b/src/configuration/configuration-errors.ts new file mode 100644 index 0000000..68b7b09 --- /dev/null +++ b/src/configuration/configuration-errors.ts @@ -0,0 +1,7 @@ +import { InvalidConfigurationError } from '@/error' + +export function throwNoConfigurationProvided() { + throw new InvalidConfigurationError( + `You've called configure function without a configuration object.` + ) +}