[**Documentation**](../../../README)

***

[Documentation](../../../README) / [@zerotal/notifications](../README) / validateNotificationConfig

# Function: validateNotificationConfig()

> **validateNotificationConfig**(`config`): `void`

Defined in: [notifications/src/config.ts:63](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/notifications/src/config.ts#L63)

Check the config for combinations that would only fail at send time.

A missing Resend key or an SMS driver without its credential block is a
deployment mistake, and the cheapest place to notice one is here — at boot,
naming the key — rather than on the first password-reset email of the day.

## Parameters

### config

[`NotificationConfigShape`](../interfaces/NotificationConfigShape)

## Returns

`void`

## Throws

on the first inconsistency found.
