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

Function invalid

packages/effect/src/SemVer.ts:90–92  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

88
89/** @internal */
90export const invalid = (message: string): never => {
91 throw new SemVerError({ message })
92}
93
94const attempt = <A>(evaluate: () => A): Result.Result<A, SemVerError> =>
95 Result.try({

Callers 9

parsePartialFunction · 0.90
parseComparatorSetFunction · 0.90
checkComponentFunction · 0.70
parseComponentFunction · 0.70
prereleaseIdentifierFunction · 0.70
buildIdentifierFunction · 0.70
incrementFunction · 0.70
parseOrThrowFunction · 0.70
checkValueMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected