(value: unknown)
| 10 | |
| 11 | export type UnauthorizedError = { readonly _tag: "UnauthorizedError"; readonly message: string } |
| 12 | export const isUnauthorizedError = (value: unknown): value is UnauthorizedError => |
| 13 | typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "UnauthorizedError" |
| 14 | |
| 15 | export type InvalidRequestError = { |
| 16 | readonly _tag: "InvalidRequestError" |