> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanoforge.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# NfConfigException class

> Thrown when a library configuration is invalid or incomplete.

# NfConfigException

## Summary

Thrown when a library configuration is invalid or incomplete.

## Signature

```typescript theme={null}
declare class NfConfigException extends NfException 
```

## Constructors

### constructor

Constructs a new instance of the class

## Properties

### code

**Modifiers**: readonly
**Type**:`get code(): number;`

Always .

## Remarks

Typically raised during `__init` when required environment variables are missing or fail validation. For example, `NetworkClientLibrary` throws this when neither `SERVER_TCP_PORT` nor `SERVER_UDP_PORT` is provided.
