(schema: S, method: string)
| 2925 | }) |
| 2926 | |
| 2927 | const tryCodecTransform = <S extends Schema.Constraint>(schema: S, method: string) => |
| 2928 | Effect.try({ |
| 2929 | try: () => toCodecOpenAI(schema), |
| 2930 | catch: (error) => unsupportedSchemaError(error, method) |
| 2931 | }) |
| 2932 | |
| 2933 | const tryJsonSchema = <S extends Schema.Constraint>(schema: S, method: string) => |
| 2934 | Effect.try({ |
no test coverage detected