cosas que leer este año
progra y trabajo
<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>
<general_guidelines>
Intent: All fallible operations must return a Result<T, E>
(from neverthrow) instead of throwing or returning null
/undefined
. This makes failures explicit in the type system.
Tagged Errors: Define every custom error as a class using Data.TaggedError("Name")<Props>
. Name each error in PascalCase ending with Error
. For example:
import { Data } from "effect";
export class InvalidPaymentError extends Data.TaggedError("InvalidPayment")<{