packages/dsn-parser/docs/api/functions/assertParsableDsn.md
[**@httpx/dsn-parser v1.8.1**](../README.md) • **Docs**
***
[@httpx/dsn-parser v1.8.1](../README.md) / assertParsableDsn
# Function: assertParsableDsn()
> **assertParsableDsn**(`dsn`, `msg`?): `asserts dsn is ParsableDsn`
## Parameters
• **dsn**: `unknown`
• **msg?**: `string`
## Returns
`asserts dsn is ParsableDsn`
## Throws
Error when not parsable