Closed kjellmorten closed 1 year ago
The response object should have an origin prop, that may be set when setting an error/status to indicate where that error first arose.
origin
If a service sets origin, it should probably be prefixed, to make sure it doesn't conflict with internal origins.
Other possible origins: mutate:request, mutate:response, auth:action, auth:data, handler, handler:GET (and similar), dispatch, etc.
mutate:request
mutate:response
auth:action
auth:data
handler
handler:GET
dispatch
The response object should have an
origin
prop, that may be set when setting an error/status to indicate where that error first arose.If a service sets
origin
, it should probably be prefixed, to make sure it doesn't conflict with internal origins.Other possible origins:
mutate:request
,mutate:response
,auth:action
,auth:data
,handler
,handler:GET
(and similar),dispatch
, etc.