Allow Error return customization

Open
#433 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go
Domain
api, cloud

Research direction

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.

Written by the indexing model from the issue text.

Description

enhancement

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

Dominant language
Go
Stars
3.8k
Forks
578
Avg merge
16h 56m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/aws-lambda-go

All issues in aws/aws-lambda-go

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.