Skip to content

Make reply.continue(err) configurable #1

Description

@Pranay92

reply.continue(err) should have a second 'options' object that will allow adding custom headers. This will be helpful when sending error status code for different types of errors.

The following option properties makes sense:
{
status : code // error status code
headers : obj // key value pairs of headers that needs to be set on the reply
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions