This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Data } from 'effect'; | |
| import type { StandardSchemaV1 } from '@standard-schema/spec'; | |
| import { type ResultAsync, errAsync, okAsync } from 'neverthrow'; | |
| export class ParseError extends Data.TaggedError('ParseError')<{ | |
| response: Response; | |
| issues: ReadonlyArray<StandardSchemaV1.Issue>; | |
| }> {} | |
| export class UnexpectedError extends Data.TaggedError('UnexpectedError')<{ |