Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

description:sync gists with given description

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

all:systemctl search all fields

Registrarse

Iniciar sesión

Todos Nuevo Registrarse Iniciar sesión

Todos los gists

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado
sean's Avatar

sean / Result pattern with a closed error hierarchy (C#)

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1 month ago
A way to make a method's failure modes part of its return type without OneOf's positional Tn tedium or a flat opaque Error blob. Emulates a discriminated union using a sealed record hierarchy.
dotnet

Result pattern with a closed error hierarchy (C#)

A way to make a method's failure modes part of its return type without OneOf's positional Tn tedium or a flat opaque Error blob. Emulates a discriminated union using a sealed record hierarchy.

What to call it

There is no single name. It is three named things stapled together:

sean's Avatar

sean / A reusable opencode prompt

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1 month ago
GPT thinks this is a good reusable prompt
opencode

We are working on this task:

Use a retrieval-first workflow.

Context priority:

  1. Current repo code
  2. Repo-local docs: AGENTS.md, PROJECT.md, README.md, docs/, adr/
  3. Active issue/PR/task description
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 42ms⋅

Español
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文