Todos Novo

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Registrar-se

Entrar

Todos Novo Registrar-se Entrar

Todos os gists

Mais recente criado
Menos recente criado
Mais recente atualizado
Menos recente atualizado
sean's Avatar

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

0 curtidas
0 bifurcações
1 arquivos
Última atividade 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 curtidas
0 bifurcações
1 arquivos
Última atividade 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
Próximo Anterior

Desenvolvido por Opengist ⋅ Load: 43ms⋅

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