(schema: S, method: string)
| 1416 | }) |
| 1417 | |
| 1418 | const tryCodecTransform = <S extends Schema.Constraint>(schema: S, method: string) => |
| 1419 | Effect.try({ |
| 1420 | try: () => toCodecOpenAI(schema), |
| 1421 | catch: (error) => unsupportedSchemaError(error, method) |
| 1422 | }) |
| 1423 | |
| 1424 | const tryJsonSchema = <S extends Schema.Constraint>(schema: S, method: string) => |
| 1425 | Effect.try({ |
no test coverage detected