Všechno Nové

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

Registrovat

Přihlásit se

Všechno Nové Registrovat Přihlásit se

Všechny gisty

Nedávno Vytvořeno
Nejméně nedávno Vytvořeno
Nedávno Aktualizováno
Nejméně nedávno Aktualizováno
sean's Avatar

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

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 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 Lajky
0 Forky
1 Soubory
Naposledy aktivní 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
Novější Starší

Vytvořeno pomocí Opengist ⋅ Load: 42ms⋅

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