aws / aws/aws-lambda-go

Allow Error return customization

Aperta
#433 2 commenti 2 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Go
Stelle
3.8k
Fork
578
Merge medio
8h 18m
PR unite (30g)
1

Descrizione

**Is your feature request related to a problem? Please describe.**
We have the need to customize Error responses, e.g.: Add an Error Code/Status Code. And we feel that it's kind of limiting to only have `messages.InvokeResponse_Error{}` as Error Return.

**Describe the solution you'd like**
Is it possible to make this customizable via Custom JSON Serialization ?

**Describe alternatives you've considered**
N/A

**Additional context**
N/A

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The issue names no files or tests. Start by locating the messages.InvokeResponse_Error path and the custom JSON serialization entry points in this Go repository. Clarify the customization contract and define tests for configurable error and status codes; done requires an agreed behavior with passing coverage.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
go
Ambito
api, cloud
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.