#Error Handling

2 messages · Page 1 of 1 (latest)

tough salmon
#

Hi guys I really want to know how should I handle my errors so I always return the same structured and designed error response
To be user friendly
Not giving an errors that may threat my APIs

Any github repo, article would be greatfull
I know I just cant catch and do something but I really want to take a look at the designs that already exists

tame umbra
#

Using an ExceptionFilter and format the errors there is the crux of it, yeah?