Skip to main content
ORPCTaggedError creates Effect-native tagged error classes for oRPC procedures.
import.ts

Basic error

basic.ts
The default code is the tag converted to constant case: USER_NOT_FOUND_ERROR.

Error with options

with-options.ts

Error with typed data

with-data.ts

Helpers

See also

Last modified on June 15, 2026