safeValidateConfig
safeValidateConfig(
config): {data:GatewayConfig;success:true; } | {error:ZodError;success:false; }
Defined in: src/config/schema.ts:125
Safely validate a gateway config, returning success/error without throwing.
Parameters
Section titled “Parameters”config
Section titled “config”unknown
Returns
Section titled “Returns”{ data: GatewayConfig; success: true; } | { error: ZodError; success: false; }