MCPcopy Create free account
hub / github.com/Effect-TS/effect / fail

Function fail

packages/sql/pg/src/PgTypes.ts:60–62  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

58}> {}
59
60const fail = (message: string): never => {
61 throw new CodecError({ message })
62}
63
64const result = <A>(evaluate: () => A): Result.Result<A, CodecError> => {
65 try {

Callers 15

decodeUtf8Function · 0.70
failUnregisteredFunction · 0.70
requireSizeFunction · 0.70
requireStringFunction · 0.70
requireBigIntFunction · 0.70
requireNumberFunction · 0.70
requireIntegerFunction · 0.70
parseDateFunction · 0.70
parseTimeOfDayFunction · 0.70
parseZoneFunction · 0.70
encodeNumericFunction · 0.70
decodeNumericFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected