© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Creating Meaningful Errors with S.filter Refinement in Schema - Effect Community
EC
Effect Community
•
2y ago
•
7 replies
Marvinside
Creating Meaningful Errors with S.filter Refinement in Schema
How do I create meaningful errors
?
I
'm having a schema with a S
.filter Refinement
.
I can create errors
, but those do not specify the property path anymore
.
I tried to do this myself with the AST
, however I have no experience with AST in general and I could not find any documentation
.
I
've created a small file to reproduce the issue without any other distractions here
:
https://gist.github.com/marvinside/440f5cbd5b49f3b073d473239290eeb1
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Creating Generic Schema Classes with Validation Schemas
EC
Effect Community / schema
3y ago
Error: Unsupported Template Literal Span in Schema Refinement
EC
Effect Community / schema
9mo ago
Identifying Schema Validation Errors with `S.decodeUnknownSync`
EC
Effect Community / schema
15mo ago
Creating a Schema for Omitting Type Keys with Schematics
EC
Effect Community / schema
2y ago