Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boringstack-xyz/boringstack
/ singletonMap
Function
singletonMap
apps/api/src/lib/errors/api-errors.factory.ts:17–20 ·
view source on GitHub ↗
( field: string, message: string )
Source
from the content-addressed store, hash-verified
15
*
for
multi-field cases.
16
*/
17
const
singletonMap = (
18
field: string,
19
message: string
20
): Record<string, string> => ({ [field]: message });
21
22
export
const
ApiErrors = {
23
validation: (
Callers
1
api-errors.factory.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected