pitaya
pitaya copied to clipboard
Can you provide a callback function for the error in request path 404? If there is a business interruption, please handle the path error information uniformly
pitaya/handler, url not found error
Similar to gin's noRoute and noMethod, it allows me to customize error data structures
for example , I don't want this {"code":"PIT-404","msg":"pitaya/handler: gateway.gateway.gadga not found"} data. I hope to customize the data structure
what about checking the returned ERROR type?
Should be a simple change if you wish to send a contribution