Skip to main content

NfConfigException

Summary

Thrown when a library configuration is invalid or incomplete.

Signature

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.