Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
60
const
fail = (message: string): never => {
61
throw
new
CodecError({ message })
62
}
63
64
const
result = <A>(evaluate: () => A): Result.Result<A, CodecError> => {
65
try {
Callers
15
decodeUtf8
Function · 0.70
failUnregistered
Function · 0.70
requireSize
Function · 0.70
requireString
Function · 0.70
requireBigInt
Function · 0.70
requireNumber
Function · 0.70
requireInteger
Function · 0.70
parseDate
Function · 0.70
parseTimeOfDay
Function · 0.70
parseZone
Function · 0.70
encodeNumeric
Function · 0.70
decodeNumeric
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected