# FileApiMode

```ts
type FileApiMode = "warn" | "throw";
```

How the portable build's filesystem-only config APIs behave when called. `'warn'` (the default)
warns once and no-ops. `'throw'` throws `FileApiUnsupported`. The node build runs these APIs
normally and is unaffected by this value.

## See

[https://envapt.materwelon.dev/docs/compatibility#binding-by-runtime](https://envapt.materwelon.dev/docs/compatibility#binding-by-runtime)