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

Function fail

packages/sql/pg/src/PgAuth.ts:35–37  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

33}> {}
34
35const fail = (message: string): never => {
36 throw new AuthError({ message })
37}
38
39const result = <A>(evaluate: () => A): Result.Result<A, AuthError> => {
40 try {

Callers 8

fromBase64Function · 0.70
decodeUtf8Function · 0.70
md5PasswordUnsafeFunction · 0.70
parseAttributesFunction · 0.70
attributeFunction · 0.70
scramInitUnsafeFunction · 0.70
scramContinueUnsafeFunction · 0.70
scramFinishUnsafeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected