Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/contentlayerdev/contentlayer
/ warn
Function
warn
packages/@contentlayer/utils/src/effect/These.ts:21–23 ·
view source on GitHub ↗
(a: A, e: E)
Source
from the content-addressed store, hash-verified
19
}
20
21
export
function
warn<E, A>(a: A, e: E) {
22
return
new
These(E.right(Tp.tuple(a, O.some(e))))
23
}
24
25
export
function
warnOption<E, A>(a: A, e: O.Option<E>) {
26
return
new
These(E.right(Tp.tuple(a, e)))
Callers
2
map_
Function · 0.85
mapError_
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…