arcjet-js icon indicating copy to clipboard operation
arcjet-js copied to clipboard

Consider building structured errors

Open e-moran opened this issue 4 months ago • 0 comments

Structured errors have come up as something that could be useful to our users.

One example of where this would be useful is if a user wants to return a 400 in case a header is missing that's needed to evaluate a rule, rather than returning a 500 which would indicate a server failure.

e-moran avatar Oct 03 '24 14:10 e-moran